mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 09:41:30 +00:00
HV: Add acpi_fixup api to override acpi on needs
Add acpi_fixup() api in bsp that can override platform ACPI info when do init_bsp(), this is useful when platform bootloader is not lock down before production. In current code only the wake vector addresses would be parsed after boot and then override to host_acpi_info, we can add more in furture based on our needs. Tracked-On: #1264 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -62,4 +62,7 @@ struct dmar_info *get_dmar_info(void)
|
||||
|
||||
void init_bsp(void)
|
||||
{
|
||||
#ifndef CONFIG_CONSTANT_ACPI
|
||||
acpi_fixup();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user