kernel: vm kernel call can't suspend
This commit is contained in:
parent
59ff758441
commit
125fc7a918
@ -431,6 +431,8 @@ static void vm_suspend(struct proc *caller, const struct proc *target,
|
|||||||
|
|
||||||
RTS_SET(caller, RTS_VMREQUEST);
|
RTS_SET(caller, RTS_VMREQUEST);
|
||||||
|
|
||||||
|
assert(caller->p_endpoint != VM_PROC_NR);
|
||||||
|
|
||||||
caller->p_vmrequest.req_type = VMPTYPE_CHECK;
|
caller->p_vmrequest.req_type = VMPTYPE_CHECK;
|
||||||
caller->p_vmrequest.target = target->p_endpoint;
|
caller->p_vmrequest.target = target->p_endpoint;
|
||||||
caller->p_vmrequest.params.check.start = linaddr;
|
caller->p_vmrequest.params.check.start = linaddr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user