* kern/i386/pc/startup.S (multiboot_entry): Setup stack before calling
anything.
+2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * kern/i386/pc/startup.S (multiboot_entry): Setup stack before calling
+ anything.
+
2009-12-13 Carles Pina i Estany <carles@pina.cat>
* script/execute.c (grub_script_execute_cmdline): Set grub_errno to
/* obtain the boot device */
movl 12(%ebx), %edx
+ movl $GRUB_MEMORY_MACHINE_PROT_STACK, %ebp
+ movl %ebp, %esp
+
/* relocate the code */
movl $(GRUB_KERNEL_MACHINE_RAW_SIZE + 0x200), %ecx
addl EXT_C(grub_compressed_size) - _start + 0x100000 + 0x200, %ecx