From 49a9de571ad0c604cb569d46d514f25bdc45d8ca Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 10 Jul 2021 18:12:46 +0200 Subject: allocate the initial stack directly in linker.ld IMO it's cleaner this way. I wanted to put it just under 1M, but it turns out that it isn't accessible at boot in QEMU. --- src/arch/i386/boot.s | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/arch/i386/boot.s') diff --git a/src/arch/i386/boot.s b/src/arch/i386/boot.s index 74ec312..2578e87 100644 --- a/src/arch/i386/boot.s +++ b/src/arch/i386/boot.s @@ -1,13 +1,3 @@ -/* a lil stack TODO move to linker.ld */ -.section .bss -.global stack_top -.type stack_top, @object -.align 16 -stack_bottom: -.skip 16384 -stack_top: - - .section .text .global _start .type _start, @function -- cgit v1.2.3