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:
Yin Fengwei
2018-06-07 12:20:56 +08:00
committed by lijinxia
parent 11df803da3
commit f3831cdc80
5 changed files with 50 additions and 49 deletions

View File

@@ -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*) ;