mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv: Pass address of vioapic struct to register_mmio_emulation_handler
Changes the mmio handler data from that of the acrn_vm struct to the acrn_vioapic. Add nr_pins and base_addr to the acrn_vioapic data structure. Tracked-On: #4151 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Acked-by: Eddie Dong <eddie.dong@Intel.com>
This commit is contained in:
committed by
wenlingz
parent
dd6c80c305
commit
2fe3004202
@@ -51,6 +51,8 @@
|
||||
struct acrn_vioapic {
|
||||
struct acrn_vm *vm;
|
||||
spinlock_t mtx;
|
||||
uint32_t base_addr;
|
||||
uint32_t nr_pins;
|
||||
uint32_t id;
|
||||
bool ready;
|
||||
uint32_t ioregsel;
|
||||
|
Reference in New Issue
Block a user