mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
ppc: Fix RAM top (1/2)
According to the illustration in start.S, the stack size is supposed to be 64 KiB. v2: * Split up. 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@901 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Blue Swirl
parent
74203e0c7a
commit
6f834ad03b
@@ -86,7 +86,7 @@ get_rom_base( void )
|
|||||||
unsigned long
|
unsigned long
|
||||||
get_ram_top( void )
|
get_ram_top( void )
|
||||||
{
|
{
|
||||||
return get_rom_base() - HASH_SIZE - (32 + 32 + 64) * 1024;
|
return get_rom_base() - HASH_SIZE - (32 + 64 + 64) * 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long
|
unsigned long
|
||||||
|
|||||||
Reference in New Issue
Block a user