function to increase process stack (pointer). used by VM to set up large,

sparse, non-preallocated heap and stack.
This commit is contained in:
Ben Gras 2008-12-11 14:17:45 +00:00
parent e911d44a5c
commit 66b161238d

View file

@ -35,6 +35,10 @@ struct proc *p;
}
RTS_LOCK_UNSET(p, VMINHIBIT);
return OK;
case VMCTL_INCSP:
/* Increase process SP. */
p->p_reg.sp += m_ptr->SVMCTL_VALUE;
return OK;
case VMCTL_GET_PAGEFAULT:
{
struct proc *rp;