mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-07 12:42:36 +00:00
During ioapic reset, some registers need to be set to the default value which defined in ioapic spec. So far, the vioapic function only be called by ioapic itself in ioapic_init. And just invoked after calloc the vioapic object, so all the content are already set to zero. But this vioapic_reset function be exported as one API which maybe invoked by other scenarios in future. So this patch resolves this potential issue. Signed-off-by: Yu Wang <yu1.wang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>