From 114642d9be4cfd60f7aa1c2160829e4a9bc3e7f2 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 27 Feb 2016 12:34:31 -0500 Subject: [PATCH] boot tweaks --- src/boot.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot.s b/src/boot.s index e4598f7..78f0518 100644 --- a/src/boot.s +++ b/src/boot.s @@ -20,7 +20,7 @@ # cause massive harm. Instead, we'll provide our own stack. We will allocate # room for a small temporary stack by creating a symbol at the bottom of it, # then allocating 16384 bytes for it, and finally creating a symbol at the top. -.section .bootstrap_stack +.section .bootstrap_stack, "aw", @nobits stack_buttom: .skip 16384 # 16 KiB stack_top: @@ -51,8 +51,8 @@ _start: # continues execution, just to be safe. We will create a local label rather # than real symbol and jump to there endlessly. cli - hlt .Lhang: + hlt jmp .Lhang # Set the size of the _start symbol to the current location '.' minus its start.