mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 21:29:20 +00:00
hv: rename register_io_emulation_handler
This patch renames `register_io_emulation_handler` to `register_pio_emulation_handler`. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -128,11 +128,11 @@ void vpci_init(struct acrn_vm *vm)
|
||||
* UOS or partition mode: register handler for CF8 only and I/O requests to CF9/CFA/CFB are
|
||||
* not handled by vpci.
|
||||
*/
|
||||
register_io_emulation_handler(vm, PCI_CFGADDR_PIO_IDX, &pci_cfgaddr_range,
|
||||
register_pio_emulation_handler(vm, PCI_CFGADDR_PIO_IDX, &pci_cfgaddr_range,
|
||||
pci_cfgaddr_io_read, pci_cfgaddr_io_write);
|
||||
|
||||
/* Intercept and handle I/O ports CFC -- CFF */
|
||||
register_io_emulation_handler(vm, PCI_CFGDATA_PIO_IDX, &pci_cfgdata_range,
|
||||
register_pio_emulation_handler(vm, PCI_CFGDATA_PIO_IDX, &pci_cfgdata_range,
|
||||
pci_cfgdata_io_read, pci_cfgdata_io_write);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user