summaryrefslogtreecommitdiff
path: root/asm/asm_mp.asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm/asm_mp.asm')
-rw-r--r--asm/asm_mp.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/asm/asm_mp.asm b/asm/asm_mp.asm
index c4eb4a9..a2dcee0 100644
--- a/asm/asm_mp.asm
+++ b/asm/asm_mp.asm
@@ -1,7 +1,8 @@
global smp_start
+global LLOCK
extern smp_main
+
; master boot record for application processors
-;[org 0x7000]
smp_start:
[bits 16]
@@ -41,6 +42,9 @@ boot_32_pm:
cmp eax,1
je boot_32_pm
+ mov ebp, 0x7000
+ mov esp, ebp
+
call smp_main
jmp $ ; should never be reached