AGESA: Split S3 backup in CBMEM
Use separate CBMEM allocations for stack and heap on S3 resume path. The allocation of HIGH_SCRATCH_MEMORY is specific to AGESA and is moved out of globals and ACPI. This region is a replacement for BIOS_HEAP_SIZE used on non-resume paths. Change-Id: I6658ce1c06964de5cf13b4e3c84d571f46ce76f3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/10316 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@ -28,13 +28,6 @@
|
||||
#define HIGH_MEMORY_SAVE 0
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) && \
|
||||
defined(CONFIG_HIGH_SCRATCH_MEMORY_SIZE)
|
||||
#define HIGH_MEMORY_SCRATCH CONFIG_HIGH_SCRATCH_MEMORY_SIZE
|
||||
#else
|
||||
#define HIGH_MEMORY_SCRATCH 0
|
||||
#endif
|
||||
|
||||
/* Delegation of resume backup memory so we don't have to
|
||||
* (slowly) handle backing up OS memory in romstage.c
|
||||
*/
|
||||
|
Reference in New Issue
Block a user