:: commit 1e935e10d3e6fa907800b9997db49abf414554c6

mintsuki <mintsuki@protonmail.com> — 2021-05-30 13:45

parents: 6e78e33989

linux: Fix wrong jmp instruction

diff --git a/stage23/protos/linux.32.c b/stage23/protos/linux.32.c
index faf5a6fe..cc37491a 100644
--- a/stage23/protos/linux.32.c
+++ b/stage23/protos/linux.32.c
@@ -56,7 +56,7 @@ __attribute__((noreturn)) void linux_spinup(void *entry, void *boot_params) {
         "xorl %%edi, %%edi\n\t"
         "xorl %%ebx, %%ebx\n\t"
 
-        "jmp *(%%ecx)\n\t"
+        "jmp *%%ecx\n\t"
         :
         : "m"(linux_gdt), "c"(entry), "S"(boot_params)
         : "memory"
tab: 248 wrap: offon