mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: vioapic: remove EOI register support
The IOAPIC specification defined EOI register for 0x20 version. The original vioapic code implemented this register but the version was still export as 0x11. Tried to set 0x20, the Linux kernel has't access this EOI register, still rely on lapic to send eoi. From Linux ioapic driver comments, it says that only send EOI via EOI register when met IOAPIC hardware bug. This patch removes all 0x20 IOAPIC code to reduce the code size. Signed-off-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -451,7 +451,6 @@ union ioapic_rte {
|
||||
/* window register offset */
|
||||
#define IOAPIC_REGSEL 0x00U
|
||||
#define IOAPIC_WINDOW 0x10U
|
||||
#define IOAPIC_EOIR 0x40U
|
||||
|
||||
/* indexes into IO APIC */
|
||||
#define IOAPIC_ID 0x00U
|
||||
|
Reference in New Issue
Block a user