mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +00:00
hv: don't combine the trampline code with AP start
Cleanup "cpu_secondary_xx" in the symbols/section/functions/variables name in trampline code. There is item left: the default C entry is Ap start c entry. Before ACRN enter S3, the c entry will be updated to high level S3 C entry. So s3 resume will go s3 resume path instead of AP startup path. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Zheng Gen <gen.zheng@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
@@ -39,20 +39,20 @@ SECTIONS
|
||||
|
||||
} > ram
|
||||
|
||||
_ld_cpu_secondary_reset_load = .;
|
||||
_ld_trampline_load = .;
|
||||
|
||||
.cpu_secondary : AT (_ld_cpu_secondary_reset_load)
|
||||
.trampline : AT (_ld_trampline_load)
|
||||
{
|
||||
_ld_cpu_secondary_reset_start = .;
|
||||
*(.cpu_secondary_reset);
|
||||
_ld_trampline_start = .;
|
||||
*(.trampline_reset);
|
||||
. = ALIGN(4);
|
||||
_ld_cpu_secondary_reset_end = .;
|
||||
_ld_trampline_end = .;
|
||||
|
||||
} > lowram
|
||||
|
||||
_ld_cpu_secondary_reset_size = _ld_cpu_secondary_reset_end - _ld_cpu_secondary_reset_start;
|
||||
_ld_trampline_size = _ld_trampline_end - _ld_trampline_start;
|
||||
|
||||
.data (_ld_cpu_secondary_reset_load + _ld_cpu_secondary_reset_size):
|
||||
.data (_ld_trampline_load + _ld_trampline_size):
|
||||
{
|
||||
*(.data) ;
|
||||
*(.data*) ;
|
||||
|
Reference in New Issue
Block a user