minlib: Add vm_query_exit
This commit is contained in:
parent
35cc7fbeb8
commit
7b70f548e4
1 changed files with 10 additions and 0 deletions
|
@ -21,3 +21,13 @@ PUBLIC int vm_query_exit(int *endpt)
|
|||
*endpt = m.VM_QUERY_RET_PT;
|
||||
return (m.VM_QUERY_IS_MORE ? 1 : 0);
|
||||
}
|
||||
|
||||
PUBLIC int vm_watch_exit(endpoint_t ep)
|
||||
{
|
||||
message m;
|
||||
int r;
|
||||
|
||||
memset(&m, 0, sizeof(m));
|
||||
m.VM_WE_EP = ep;
|
||||
return _syscall(VM_PROC_NR, VM_WATCH_EXIT, &m);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue