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 do_setmcontext() 13 { 14 return sys_setmcontext(who_e, m_in.m_lc_pm_mcontext.ctx); 15 } 16 17 18 /*===========================================================================* 19 * do_getmcontext * 20 *===========================================================================*/ 21 int do_getmcontext() 22 { 23 return sys_getmcontext(who_e, m_in.m_lc_pm_mcontext.ctx); 24 } 25 26