diff options
Diffstat (limited to 'sys/inc')
| -rw-r--r-- | sys/inc/mu/process.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/inc/mu/process.h b/sys/inc/mu/process.h index 2e69140..895ecf7 100644 --- a/sys/inc/mu/process.h +++ b/sys/inc/mu/process.h @@ -32,6 +32,7 @@ #include <sys/types.h> #include <os/process.h> +#include <md/frame.h> /* shared */ /* * Initialize machine specific process fields @@ -41,4 +42,11 @@ */ int mu_process_init(struct process *process, uintptr_t ip, int flags); +/* + * Context switch to the next process + * + * @tf: Trapframe + */ +void mu_process_switch(struct trapframe *tf); + #endif /* !_MU_PROCESS_H_ */ |
