aboutsummaryrefslogtreecommitdiffstats
path: root/src/boot/boot.stage2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/boot.stage2.asm')
-rw-r--r--src/boot/boot.stage2.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/boot/boot.stage2.asm b/src/boot/boot.stage2.asm
new file mode 100644
index 0000000..56ab73a
--- /dev/null
+++ b/src/boot/boot.stage2.asm
@@ -0,0 +1,11 @@
+ ;; boot.stage2.asm
+
+ [bits 16]
+ [org 0x7e00]
+
+ %include "boot.stage2.a20.asm"
+ %include "boot.stage2.pm.asm"
+_s2_entry:
+ call _enable_a20
+ call _enter_pm
+ [bits 32]