mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV: add a specific stack space used in CPU booting
The original stack used in CPU booting is: ld_bss_end + 4KB; which could be out of the RAM size limit defined in link_ram file. So add a specific stack space in link_ram file, and used in CPU booting. Tracked-On: #4738 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -71,6 +71,14 @@ SECTIONS
|
||||
|
||||
} > ram
|
||||
|
||||
.boot_stack :
|
||||
{
|
||||
/* 4K for the boot stack */
|
||||
. += 4096;
|
||||
stack_for_boot = .;
|
||||
. = ALIGN(4);
|
||||
} > ram
|
||||
|
||||
.bss_noinit (NOLOAD):
|
||||
{
|
||||
. = ALIGN(4) ;
|
||||
|
Reference in New Issue
Block a user