diff options
Diffstat (limited to 'src/boot/boot.S')
| -rw-r--r-- | src/boot/boot.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/boot/boot.S b/src/boot/boot.S index ba25a84..0092567 100644 --- a/src/boot/boot.S +++ b/src/boot/boot.S @@ -4,6 +4,8 @@ .extern gdt_memcpy .extern mb_load_fb_tag +.set STACK_LOCATION, 0x50000 + .section .multiboot .set MB_MAGIC, 0xE85250D6 @@ -65,7 +67,7 @@ cs_new: # Update stack segment movw $0x18, %ax movw %ax, %ss -movl $0x50000,%esp +movl $STACK_LOCATION,%esp # Load mov $0x38, %eax |
