From c478ba925b29990df2426ee06c2e629c0a2d7246 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 19 Nov 2025 22:57:27 -0500 Subject: kern/amd64: sched: Implement context switching Signed-off-by: Ian Moffett --- sys/inc/mu/process.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/inc') 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 #include +#include /* 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_ */ -- cgit v1.2.3