mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 06:51:49 +00:00
HV: hot fix on usage of CONFIG_ACPI_PARSE_ENABLED
The acpi_fixup() is only called when CONFIG_ACPI_PARSE_ENABLED is enabled; Tracked-On: #3107 Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
356bf18491
commit
1aac0dffaf
@ -66,7 +66,7 @@ void init_vboot_operations(void)
|
|||||||
/* @pre: vboot_ops->init != NULL */
|
/* @pre: vboot_ops->init != NULL */
|
||||||
void init_vboot(void)
|
void init_vboot(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_ACPI_PARSE_ENABLED
|
#ifdef CONFIG_ACPI_PARSE_ENABLED
|
||||||
acpi_fixup();
|
acpi_fixup();
|
||||||
#endif
|
#endif
|
||||||
vboot_ops->init();
|
vboot_ops->init();
|
||||||
|
@ -36,7 +36,7 @@ struct ioapic_info;
|
|||||||
uint16_t parse_madt(uint32_t lapic_id_array[CONFIG_MAX_PCPU_NUM]);
|
uint16_t parse_madt(uint32_t lapic_id_array[CONFIG_MAX_PCPU_NUM]);
|
||||||
uint16_t parse_madt_ioapic(struct ioapic_info *ioapic_id_array);
|
uint16_t parse_madt_ioapic(struct ioapic_info *ioapic_id_array);
|
||||||
|
|
||||||
#ifndef CONFIG_ACPI_PARSE_ENABLED
|
#ifdef CONFIG_ACPI_PARSE_ENABLED
|
||||||
void acpi_fixup(void);
|
void acpi_fixup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user