diff options
-rw-r--r-- | arch/x86/boot/setup.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/boot/setup.s b/arch/x86/boot/setup.s index 2a0ab15..bda71ee 100644 --- a/arch/x86/boot/setup.s +++ b/arch/x86/boot/setup.s @@ -19,9 +19,13 @@ _start: mov $SDATASEG, %ax mov %ax, %ds + mov %ax, %ss mov $KERNSEG, %ax mov %ax, %es + mov $0xFF00, %bp # Set up the stack at 0x9ff00 + mov %bp, %sp + BIOS_PRINT $get_data_msg # TODO: get memory size # TODO: get video infos |