diff options
Diffstat (limited to 'include/apos/tcb.h')
| -rw-r--r-- | include/apos/tcb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h index c56a2b3..9f10e2f 100644 --- a/include/apos/tcb.h +++ b/include/apos/tcb.h @@ -391,17 +391,18 @@ bool running(struct tcb *t); /** * Save thread context for rpc call. + * Assumes t->rpc is pointing to the correct virtual memory. * * @param t Thread whose context to save. */ -void save_context(struct tcb *t); +void enter_rpc(struct tcb *t); /** * Load thread context from rpc call. * * @param t Thread whose context to restore. */ -void load_context(struct tcb *t); +void leave_rpc(struct tcb *t); /** * Check that we have enough rpc stack. |
