xref: /minix/minix/servers/pm/mcontext.c (revision 00e393ca)
1 #include "pm.h"
2 #include <minix/callnr.h>
3 #include <minix/endpoint.h>
4 #include <minix/com.h>
5 #include <minix/vm.h>
6 #include "mproc.h"
7 
8 
9 /*===========================================================================*
10  *				do_setmcontext				     *
11  *===========================================================================*/
12 int
13 do_setmcontext(void)
14 {
15   return sys_setmcontext(who_e, m_in.m_lc_pm_mcontext.ctx);
16 }
17 
18 
19 /*===========================================================================*
20  *				do_getmcontext				     *
21  *===========================================================================*/
22 int
23 do_getmcontext(void)
24 {
25   return sys_getmcontext(who_e, m_in.m_lc_pm_mcontext.ctx);
26 }
27 
28