mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
HV: platform acpi info refactor
Replace platform_acpi_info.c with platform_acpi_info.h and define needed host ACPI info in MACROs. Then the struct host_acpi_info is not needed any more. This header file should be generated by offline tool automatically; Tracked-On: #1500 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -377,9 +377,9 @@ void acpi_fixup(void)
|
||||
facs_addr = get_facs_table();
|
||||
|
||||
if (facs_addr != NULL) {
|
||||
host_acpi_info.pm_s_state.wake_vector_32 =
|
||||
host_pm_s_state.wake_vector_32 =
|
||||
(uint32_t *)(facs_addr + OFFSET_WAKE_VECTOR_32);
|
||||
host_acpi_info.pm_s_state.wake_vector_64 =
|
||||
host_pm_s_state.wake_vector_64 =
|
||||
(uint64_t *)(facs_addr + OFFSET_WAKE_VECTOR_64);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user