mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 09:41:30 +00:00
HV: modularization improve UEFI macro control code
1. in UEFI bsp code, not need UEFI macro; it is controlled in makefile. 2. in vm/acpi/interrupt code, unify the API name for SBL & UEFI. 3. remove unnecessary header including and unused code. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -23,29 +23,14 @@
|
||||
|
||||
#define UOS_DEFAULT_START_ADDR (0x100000000UL)
|
||||
|
||||
struct acpi_info {
|
||||
uint8_t x86_family;
|
||||
uint8_t x86_model;
|
||||
struct pm_s_state_data pm_s_state;
|
||||
/* TODO: we can add more acpi info field here if needed. */
|
||||
};
|
||||
|
||||
/**********************************/
|
||||
/* EXTERNAL VARIABLES */
|
||||
/**********************************/
|
||||
/* BSP Interfaces */
|
||||
void init_bsp(void);
|
||||
uint64_t bsp_get_ap_trampoline(void);
|
||||
void *bsp_get_rsdp(void);
|
||||
void bsp_init_irq(void);
|
||||
|
||||
#ifndef CONFIG_CONSTANT_ACPI
|
||||
void acpi_fixup(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_EFI_STUB
|
||||
|
||||
void *get_rsdp_from_uefi(void);
|
||||
void *get_ap_trampoline_buf(void);
|
||||
const struct efi_context *get_efi_ctx(void);
|
||||
const struct lapic_regs *get_efi_lapic_regs(void);
|
||||
#endif
|
||||
|
||||
#endif /* BSP_EXTERN_H */
|
||||
|
||||
Reference in New Issue
Block a user