From 0dd542dc47ef0c5c9b1303bbd01a7f350d03d52e Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 26 Nov 2010 18:14:13 +0000 Subject: [PATCH] - code cleanup git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@289 315a16e6-25f9-4109-90ae-ca3045a26c18 --- arch/x86/kernel/entry.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/entry.asm b/arch/x86/kernel/entry.asm index b1b3a9a7..54b215c7 100644 --- a/arch/x86/kernel/entry.asm +++ b/arch/x86/kernel/entry.asm @@ -27,7 +27,6 @@ SECTION .mboot global start start: - mov esp, _sys_stack ; This points the stack to our new stack area jmp stublet ; This part MUST be 4byte aligned, so we solve that issue using 'ALIGN 4' @@ -58,7 +57,10 @@ mboot: SECTION .text ALIGN 4 stublet: - ; interpret multiboot information +; Initialize the stack pointer. + mov esp, _sys_stack + +; interpret multiboot information extern multiboot_init push ebx call multiboot_init