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

@@ -484,7 +484,7 @@ void interrupt_init(uint16_t pcpu_id)
struct host_idt_descriptor *idtd = &HOST_IDTR;
set_idt(idtd);
init_lapic(pcpu_id);
init_lapic();
init_default_irqs(pcpu_id);
#ifndef CONFIG_EFI_STUB
CPU_IRQ_ENABLE();