mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-12 20:39:59 +00:00
hv:Replace dynamic memory with static for mmio
-- Config MAX_EMULATED_MMIO_REGIONS 16 in Kconfig -- Add emulated mmio array and emulated mmio regions in vm structure -- Remove mmio list in vm structure -- Remove unregister_mmio_emulation_handler and vioapic_cleanup APIs Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -523,14 +523,6 @@ vioapic_init(struct acrn_vm *vm)
|
||||
vm);
|
||||
}
|
||||
|
||||
void
|
||||
vioapic_cleanup(const struct acrn_vioapic *vioapic)
|
||||
{
|
||||
unregister_mmio_emulation_handler(vioapic->vm,
|
||||
(uint64_t)VIOAPIC_BASE,
|
||||
(uint64_t)VIOAPIC_BASE + VIOAPIC_SIZE);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
vioapic_pincount(const struct acrn_vm *vm)
|
||||
{
|
||||
|
Reference in New Issue
Block a user