From 242fe4a5752bf66ae4c00438f5e9ce66b0774c38 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 10 Apr 2021 17:24:13 +0200 Subject: Enable tasks execution and syscalls --- src/boot/boot.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/boot') 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 -- cgit v1.2.3