hv: x2apic support for acrn

All the platforms supported by ACRN supports x2APIC. So enabled
x2APIC for ACRN hv. Removed any code that is needed for xAPIC mode
of operation.

Tracked-On: #1455
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed by:  Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
Sainath Grandhi
2018-10-12 15:52:17 -07:00
committed by wenlingz
parent a0fb1c4cf3
commit 348e2ba168
14 changed files with 131 additions and 325 deletions

View File

@@ -28,7 +28,7 @@ struct acpi_table_header {
uint32_t asl_compiler_revision;
};
uint16_t parse_madt(uint8_t lapic_id_array[MAX_PCPU_NUM]);
uint16_t parse_madt(uint32_t lapic_id_array[MAX_PCPU_NUM]);
void *get_dmar_table(void);
#endif /* !ACPI_H */