intel post-car: Consolidate choose_top_of_stack()
Change-Id: I2c49d68ea9a8f52737b6064bc4fa703bdb1af1df Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15463 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@ -170,6 +170,12 @@ void run_ramstage(void);
|
||||
/* Called when the stage cache couldn't load ramstage on resume. */
|
||||
void ramstage_cache_invalid(void);
|
||||
|
||||
/* Determine where stack for ramstage loader is located. */
|
||||
enum { ROMSTAGE_STACK_CBMEM, ROMSTAGE_STACK_LOW_MEM };
|
||||
uintptr_t romstage_ram_stack_base(size_t size, int src);
|
||||
uintptr_t romstage_ram_stack_top(void);
|
||||
uintptr_t romstage_ram_stack_bottom(void);
|
||||
|
||||
/***********************
|
||||
* PAYLOAD LOADING *
|
||||
***********************/
|
||||
|
Reference in New Issue
Block a user