* grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
This commit is contained in:
parent
275433e642
commit
b71c3faedb
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
|
||||
|
||||
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Don't export grub_gate_a20.
|
||||
|
|
|
@ -61,9 +61,11 @@ codestart:
|
|||
/* Save ieee1275 stack for future use by booter. */
|
||||
mov %o6, %o1
|
||||
/* Our future stack. */
|
||||
sethi %hi(GRUB_KERNEL_MACHINE_STACK_SIZE - 2047), %o5
|
||||
or %o5, %lo(GRUB_KERNEL_MACHINE_STACK_SIZE - 2047), %o5
|
||||
sethi %hi(GRUB_KERNEL_MACHINE_STACK_SIZE), %o5
|
||||
or %o5, %lo(GRUB_KERNEL_MACHINE_STACK_SIZE), %o5
|
||||
add %o3, %o5, %o6
|
||||
and %o6, ~0xff, %o6
|
||||
sub %o6, 2047, %o6
|
||||
|
||||
sub %o2, 4, %o2
|
||||
sub %o3, 4, %o3
|
||||
|
|
Loading…
Reference in a new issue