diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-10 17:24:13 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-10 17:24:13 +0200 |
| commit | 242fe4a5752bf66ae4c00438f5e9ce66b0774c38 (patch) | |
| tree | d27d2e1fda93643eaaf249e05a6f3a35e07a67f0 /src/boot | |
| parent | c6aa00eea71c91a219dae8688530ff0a3b83bcd4 (diff) | |
Enable tasks execution and syscalls
Diffstat (limited to 'src/boot')
| -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 |
