Fix compiler warnings when building for UEFI

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
This commit is contained in:
Rusty Lynch
2018-03-26 11:53:57 -07:00
committed by Jack Ren
parent 170c48a9fc
commit 95199161e0
4 changed files with 10 additions and 3 deletions

View File

@@ -521,4 +521,9 @@ struct ioapic {
#define IOAPIC_RTE_INTVEC 0x000000ff /*R/W: INT vector field*/
#ifdef CONFIG_EFI_STUB
int sipi_from_efi_boot_service_exit(uint32_t dest, uint32_t mode, uint32_t vec);
void efi_deferred_wakeup_pcpu(int cpu_id);
#endif
#endif /* _APICREG_H_ */

View File

@@ -147,6 +147,8 @@
#ifndef ASSEMBLER
int cpu_find_logical_id(uint32_t lapic_id);
/**********************************/
/* EXTERNAL VARIABLES */
/**********************************/