Following patch adds necessary hooks and as well the compile time checks for
ACPI suspend/resume. The memory cleared now is just the coreboot memory not the low memory. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4099 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@ -6,8 +6,7 @@ static void __attribute__((noinline)) clear_init_ram(void)
|
||||
// gcc 3.4.5 will inline the copy_and_run and clear_init_ram in post_cache_as_ram
|
||||
// will reuse %edi as 0 from clear_memory for copy_and_run part, actually it is increased already
|
||||
// so noline clear_init_ram
|
||||
clear_memory(0, ((CONFIG_LB_MEM_TOPK<<10) - DCACHE_RAM_SIZE));
|
||||
|
||||
clear_memory( _RAMBASE, (CONFIG_LB_MEM_TOPK << 10) - _RAMBASE - DCACHE_RAM_SIZE);
|
||||
}
|
||||
|
||||
/* be warned, this file will be used by core other than core 0/node 0 or core0/node0 when cpu_reset*/
|
||||
|
Reference in New Issue
Block a user