efi: clean RuntimeServices code

efi runtime service table unused

Signed-off-by: Chris Ye <yechunliangcn@163.com>
This commit is contained in:
yechunliang 2018-04-26 17:32:14 +08:00 committed by Jack Ren
parent e35874cae1
commit 1cd06ba303
2 changed files with 0 additions and 3 deletions

View File

@ -39,7 +39,6 @@
EFI_SYSTEM_TABLE *sys_table;
EFI_BOOT_SERVICES *boot;
EFI_RUNTIME_SERVICES *runtime;
extern const uint64_t guest_entry;
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;
boot = sys_table->BootServices;
runtime = sys_table->RuntimeServices;
if (CheckCrc(sys_table->Hdr.HeaderSize, &sys_table->Hdr) != TRUE)
return EFI_LOAD_ERROR;

View File

@ -48,7 +48,6 @@
extern EFI_SYSTEM_TABLE *sys_table;
extern EFI_BOOT_SERVICES *boot;
extern EFI_RUNTIME_SERVICES *runtime;
/**
* allocate_pages - Allocate memory pages from the system