diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-02 14:49:06 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-02 14:49:06 +0000 |
| commit | 099a7fbbc35a71f98553fa39899f2d17c555242f (patch) | |
| tree | b80f9dfef02d223e08af123bf5adff41a98bc2bc /arch/x86_64/src/kernel/cpu/call.cpp | |
| parent | 7c045d8ded72017ff11fd4b9b02148987b944caf (diff) | |
| download | teachos-099a7fbbc35a71f98553fa39899f2d17c555242f.tar.xz teachos-099a7fbbc35a71f98553fa39899f2d17c555242f.zip | |
Finish implementing 8-byte GDT entries and syscall arg loads.
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/call.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/cpu/call.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/cpu/call.cpp b/arch/x86_64/src/kernel/cpu/call.cpp index 932d248..6564b76 100644 --- a/arch/x86_64/src/kernel/cpu/call.cpp +++ b/arch/x86_64/src/kernel/cpu/call.cpp @@ -4,7 +4,7 @@ namespace teachos::arch::kernel::cpu { auto call(far_pointer pointer) -> void { - // asm volatile("rex64 lcall *%[input]" : /* no output from call */ : [input] "m"(pointer)); - asm volatile("ljmp *%0" : : "m"(pointer)); + asm volatile("rex64 lcall *%[input]" : /* no output from call */ : [input] "m"(pointer)); + // asm volatile("ljmp *%0" : : "m"(pointer)); } } // namespace teachos::arch::kernel::cpu |
