HV: remove CONFIG_CONSTANT_ACPI from Kconfig

The MACRO of CONFIG_CONSTANT_ACPI will be defined per scenario usage,
so move it from Kconfig to vm_configurations.h;

Tracked-On: #2291

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-05-06 19:19:15 +08:00
committed by wenlingz
parent e2d723d4fa
commit ad3658ee17
4 changed files with 7 additions and 11 deletions

View File

@@ -340,8 +340,8 @@ void *get_dmar_table(void)
*
* The second type of table, the ACPI Data Table, could be parsed here.
*
* When ACRN go production, the platform ACPI data should be fixed. The
* Kconfig of CONSTANT_ACPI will be set to yes, then this code is not needed.
* When ACRN go FuSa, the platform ACPI data should be fixed. The MACRO of
* CONFIG_CONSTANT_ACPI will be defined, then this code is not needed.
*/
#define ACPI_SIG_FACS 0x53434146U /* "FACS" */

View File

@@ -7,6 +7,8 @@
#ifndef ACPI_H
#define ACPI_H
#include <vm_configurations.h>
struct ioapic_info;
uint16_t parse_madt(uint32_t lapic_id_array[CONFIG_MAX_PCPU_NUM]);
uint16_t parse_madt_ioapic(struct ioapic_info *ioapic_id_array);