diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-26 13:17:41 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-26 13:17:41 -0400 |
commit | 2dadbfc899df4179ca70c4ea04f74a5e190c2ae7 (patch) | |
tree | b166aaa9af42406cd07fbaf150f93aefeb2fbe33 /arch/x86_64/usermode.c | |
parent | ddc4fbc15223e362896a9f42beca73f05f48e664 (diff) | |
download | jove-kernel-2dadbfc899df4179ca70c4ea04f74a5e190c2ae7.tar.gz jove-kernel-2dadbfc899df4179ca70c4ea04f74a5e190c2ae7.tar.bz2 jove-kernel-2dadbfc899df4179ca70c4ea04f74a5e190c2ae7.zip |
fix usermode interrupts. add ability to define custom interrupt handlersmain
Diffstat (limited to 'arch/x86_64/usermode.c')
-rw-r--r-- | arch/x86_64/usermode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86_64/usermode.c b/arch/x86_64/usermode.c index 24a31a1..0285e7d 100644 --- a/arch/x86_64/usermode.c +++ b/arch/x86_64/usermode.c @@ -6,7 +6,6 @@ void usermode(void *ip, void *sp) __asm__ volatile("mov %0, %%rsp; \ movq %1, %%rcx; \ movq $0x202, %%r11; \ - cli; \ swapgs; \ sysretq":: "r"(sp), "r"(ip): "memory"); |