From 603e76078dcb74818e50472cc53367849f318818 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 20 Mar 2016 03:37:45 -0400 Subject: [PATCH] Set up %ebp for the temporary stack too --- src/boot.s | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot.s b/src/boot.s index 95714b4..d97e40a 100644 --- a/src/boot.s +++ b/src/boot.s @@ -34,6 +34,7 @@ stack_top: _start: # Set up some space for a call stack. The stack grows downwards, so esp gets set to the top of the stack. movl $stack_top, %esp + movl %esp, %ebp # Very early initialization done here. call kearly