BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / 6217f0db2c8f2513994f4cc773aaa4171a049963 / kernel / acpi / trampoline.S

// Related

Nucleus

Barry Kernel threads + threads share address space 6217f0d (3 years, 1 month ago)
diff --git a/kernel/acpi/trampoline.S b/kernel/acpi/trampoline.S
index 3230e85..c807524 100644
--- a/kernel/acpi/trampoline.S
+++ b/kernel/acpi/trampoline.S
@@ -48,9 +48,8 @@ ap_pm:
 	incl %eax
 	movl %eax, apId
 
-	movl $0x1F00, %esi
-	movl (%esi,%eax), %ebx
-	movl %ebx, %esp
+	movl 0x1FFC, %esi
+	movl (%esi,%eax,4), %esp
 	movl %esp, %ebp
 
 	sti