From cc23ea5a4b38807e79aceb23e6f43e965926618f Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Fri, 9 Oct 2026 10:24:41 -0400 Subject: add basic scheduler logic. rename init rootdir indexes --- arch/x86_64/proc/switch.s | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/x86_64/proc/switch.s (limited to 'arch/x86_64/proc/switch.s') diff --git a/arch/x86_64/proc/switch.s b/arch/x86_64/proc/switch.s new file mode 100644 index 0000000..d571c66 --- /dev/null +++ b/arch/x86_64/proc/switch.s @@ -0,0 +1,9 @@ +.global scheduler_switch +.type scheduler_switch @function + +scheduler_switch: + movq %rsp, (%rdi) + movq %rsi, %rsp + retq + +.size scheduler_switch, . - scheduler_switch -- cgit v1.2.3