summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/mp.asm10
1 files changed, 3 insertions, 7 deletions
diff --git a/boot/mp.asm b/boot/mp.asm
index 0e1ec7f..6763b27 100644
--- a/boot/mp.asm
+++ b/boot/mp.asm
@@ -1,13 +1,7 @@
; other processors will enter here!
-
-[org 0x9000]
-
-jmp switch_to_pm
-
-%include "boot/GDT.asm"
+[org 0x7000] ; here the binary will be loaded
[bits 16]
-switch_to_pm:
cli ;switch off interrupts!
lgdt [gdt_descriptor] ;load descriptor table!
@@ -39,3 +33,5 @@ boot_32_pm:
mov eax,1
;
call 0x10000 ;jump into our Kernel!
+
+%include "boot/GDT.asm"