mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
ppc: Fix client stack setup
The client stack was set up 96 * 64 KiB below the hash table. Should be 96 KiB instead. v2: * Initial. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@908 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Blue Swirl
parent
0c3891e2c9
commit
31289f3544
@@ -379,7 +379,8 @@ GLOBL(call_elf):
|
||||
addi r8,r8,LO(saved_stack) // save our stack pointer
|
||||
stw r1,0(r8)
|
||||
mfsdr1 r1
|
||||
addis r1, r1, -96
|
||||
addi r1, r1, -32768 /* - 32 KiB exception stack */
|
||||
addis r1, r1, -1 /* - 64 KiB stack */
|
||||
lis r5,HA(of_client_callback)
|
||||
addi r5,r5,LO(of_client_callback) // r5 = callback
|
||||
li r6,0 // r6 = address of client program arguments (unused)
|
||||
|
||||
Reference in New Issue
Block a user