mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 04:39:34 +00:00
hv: fix 'User name starts with underscore'
There are chances that names with leading underscore declared by developers are conflict with the ones reserved for the compiler. What this patch does: - rename these functions/variables/macros starting with underscore to avoid such unintentational mistakes. - remove gpr.h without any contents Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -46,20 +46,20 @@ SECTIONS
|
||||
} > ram
|
||||
|
||||
. = ALIGN(4) ;
|
||||
_ld_trampoline_load = .;
|
||||
ld_trampoline_load = .;
|
||||
|
||||
.trampoline : AT (_ld_trampoline_load)
|
||||
.trampoline : AT (ld_trampoline_load)
|
||||
{
|
||||
_ld_trampoline_start = .;
|
||||
ld_trampoline_start = .;
|
||||
*(.trampoline_reset);
|
||||
. = ALIGN(4);
|
||||
_ld_trampoline_end = .;
|
||||
ld_trampoline_end = .;
|
||||
|
||||
} > lowram
|
||||
|
||||
_ld_trampoline_size = _ld_trampoline_end - _ld_trampoline_start;
|
||||
ld_trampoline_size = ld_trampoline_end - ld_trampoline_start;
|
||||
|
||||
.data (_ld_trampoline_load + _ld_trampoline_size):
|
||||
.data (ld_trampoline_load + ld_trampoline_size):
|
||||
{
|
||||
*(.data) ;
|
||||
*(.data*) ;
|
||||
@@ -79,12 +79,12 @@ SECTIONS
|
||||
.bss (NOLOAD):
|
||||
{
|
||||
. = ALIGN(4) ;
|
||||
_ld_bss_start = . ;
|
||||
ld_bss_start = . ;
|
||||
*(.bss) ;
|
||||
*(.bss*) ;
|
||||
*(COMMON) ;
|
||||
. = ALIGN(4) ;
|
||||
_ld_bss_end = . ;
|
||||
ld_bss_end = . ;
|
||||
} > ram
|
||||
|
||||
_ld_ram_size = LENGTH(ram) ;
|
||||
|
Reference in New Issue
Block a user