diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-09 10:24:41 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-09 10:24:41 -0400 |
| commit | cc23ea5a4b38807e79aceb23e6f43e965926618f (patch) | |
| tree | 90142bb44186f4dad7bbd82d3d53655b835c822b /arch/x86_64/proc/switch.s | |
| parent | 434ddcd907832b1febc7d70e4faa52109c7eb3bd (diff) | |
| download | jove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.tar.gz jove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.tar.bz2 jove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.zip | |
add basic scheduler logic. rename init rootdir indexes
Diffstat (limited to 'arch/x86_64/proc/switch.s')
| -rw-r--r-- | arch/x86_64/proc/switch.s | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
