mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 12:42:54 +00:00
efi: clean RuntimeServices code
efi runtime service table unused Signed-off-by: Chris Ye <yechunliangcn@163.com>
This commit is contained in:
parent
e35874cae1
commit
1cd06ba303
@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
EFI_SYSTEM_TABLE *sys_table;
|
EFI_SYSTEM_TABLE *sys_table;
|
||||||
EFI_BOOT_SERVICES *boot;
|
EFI_BOOT_SERVICES *boot;
|
||||||
EFI_RUNTIME_SERVICES *runtime;
|
|
||||||
extern const uint64_t guest_entry;
|
extern const uint64_t guest_entry;
|
||||||
|
|
||||||
static inline void hv_jump(EFI_PHYSICAL_ADDRESS hv_start,
|
static inline void hv_jump(EFI_PHYSICAL_ADDRESS hv_start,
|
||||||
@ -339,7 +338,6 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *_table)
|
|||||||
|
|
||||||
sys_table = _table;
|
sys_table = _table;
|
||||||
boot = sys_table->BootServices;
|
boot = sys_table->BootServices;
|
||||||
runtime = sys_table->RuntimeServices;
|
|
||||||
|
|
||||||
if (CheckCrc(sys_table->Hdr.HeaderSize, &sys_table->Hdr) != TRUE)
|
if (CheckCrc(sys_table->Hdr.HeaderSize, &sys_table->Hdr) != TRUE)
|
||||||
return EFI_LOAD_ERROR;
|
return EFI_LOAD_ERROR;
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
|
|
||||||
extern EFI_SYSTEM_TABLE *sys_table;
|
extern EFI_SYSTEM_TABLE *sys_table;
|
||||||
extern EFI_BOOT_SERVICES *boot;
|
extern EFI_BOOT_SERVICES *boot;
|
||||||
extern EFI_RUNTIME_SERVICES *runtime;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* allocate_pages - Allocate memory pages from the system
|
* allocate_pages - Allocate memory pages from the system
|
||||||
|
Loading…
Reference in New Issue
Block a user