aboutsummaryrefslogtreecommitdiffstats
path: root/src/boot/boot.stage2.pm.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/boot.stage2.pm.asm')
-rw-r--r--src/boot/boot.stage2.pm.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/boot/boot.stage2.pm.asm b/src/boot/boot.stage2.pm.asm
new file mode 100644
index 0000000..77f5f61
--- /dev/null
+++ b/src/boot/boot.stage2.pm.asm
@@ -0,0 +1,12 @@
+ ;; boot.stage2.pm.asm
+
+
+ [bits 16]
+ %include "boot.stage2.gdt32.asm"
+
+_
+ cli
+ lgdt [GDT32_ptr]
+
+
+ ;; Enable Protected Mode