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.asm10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/boot/boot.stage2.asm b/src/boot/boot.stage2.asm
index 97a2d05..759b784 100644
--- a/src/boot/boot.stage2.asm
+++ b/src/boot/boot.stage2.asm
@@ -1,13 +1,19 @@
;; boot.stage2.asm
[bits 16]
- [org 0x0000]
%include "boot.stage2.a20.asm"
%include "boot.stage2.pm.asm"
+ %include "boot.stage1.print.asm"
+
+section .stage2
- %define KERNEL_OFFSET 0x1000
_s2_entry:
+ mov si, boot_stage2_msg
+ call _print_string
call _enable_a20
call _enable_pm
[bits 32]
+
+
+boot_stage2_msg: db "Entering Stage 2", 13, 10, 0