mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 12:49:24 +00:00
HV: move NR_IOAPICS to platform acpi info
The I/O APIC number should be parsed from host ACPI table, so move the definition from Kconfig to platform_acpi_info.h. 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:
@@ -12,6 +12,9 @@
|
||||
|
||||
#define ACPI_INFO_VALIDATED
|
||||
|
||||
/* APIC */
|
||||
#define NR_IOAPICS 1U
|
||||
|
||||
/* pm sstate data */
|
||||
#define PM1A_EVT_SPACE_ID SPACE_SYSTEM_IO
|
||||
#define PM1A_EVT_BIT_WIDTH 0x20U
|
||||
|
@@ -10,6 +10,9 @@
|
||||
#ifndef PLATFORM_ACPI_INFO_H
|
||||
#define PLATFORM_ACPI_INFO_H
|
||||
|
||||
/* APIC */
|
||||
#define NR_IOAPICS 1U
|
||||
|
||||
/* pm sstate data */
|
||||
#define PM1A_EVT_SPACE_ID SPACE_SYSTEM_IO
|
||||
#define PM1A_EVT_BIT_WIDTH 0U
|
||||
|
Reference in New Issue
Block a user