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:
Shiqing Gao
2018-09-29 15:46:27 +08:00
committed by Xie, Nanlin
parent 390861a04c
commit 4544d28ee1
27 changed files with 75 additions and 95 deletions

View File

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