function to increase process stack (pointer). used by VM to set up large,
sparse, non-preallocated heap and stack.
This commit is contained in:
parent
e911d44a5c
commit
66b161238d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue