kernel: vm kernel call can't suspend
This commit is contained in:
parent
59ff758441
commit
125fc7a918
1 changed files with 2 additions and 0 deletions
|
@ -431,6 +431,8 @@ static void vm_suspend(struct proc *caller, const struct proc *target,
|
|||
|
||||
RTS_SET(caller, RTS_VMREQUEST);
|
||||
|
||||
assert(caller->p_endpoint != VM_PROC_NR);
|
||||
|
||||
caller->p_vmrequest.req_type = VMPTYPE_CHECK;
|
||||
caller->p_vmrequest.target = target->p_endpoint;
|
||||
caller->p_vmrequest.params.check.start = linaddr;
|
||||
|
|
Loading…
Reference in a new issue