Commit a4cce104 authored by Peter Chubb's avatar Peter Chubb Committed by Tony Luck
Browse files

[IA64] Fix simulator boot (for real this time).

Thanks to Stephane, we've now worked out the real cause of the
`Linux  will not boot on simulator' problem.  Turns out it's a stack
overflow because the stack pointer wasn't being initialised properly
in boot_head.S (it was being initialised to the lowest instead of the
highest address of the stack, so the first push started to overwrite
data in the BSS).
Signed-off-by: default avatarPeter Chubb <>
Signed-off-by: default avatarTony Luck <>
parent 62d75f37
...@@ -22,7 +22,7 @@ GLOBAL_ENTRY(_start) ...@@ -22,7 +22,7 @@ GLOBAL_ENTRY(_start)
.save rp, r0 .save rp, r0
.body .body
movl gp = __gp movl gp = __gp
movl sp = stack_mem movl sp = stack_mem+16384-16
bsw.1 bsw.1 rp=start_bootloader rp=start_bootloader
END(_start) END(_start)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment