mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
hv: remove 'flags' field in struct vm_io_range
Currently, 'flags' is defined and set but never be used in the flow of handling i/o request after then. Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
eab4e42e7b
commit
700a37856f
@@ -193,13 +193,11 @@ static bool pci_cfgdata_io_write(struct acrn_vcpu *vcpu, uint16_t addr, size_t b
|
||||
void vpci_init(struct acrn_vm *vm)
|
||||
{
|
||||
struct vm_io_range pci_cfgaddr_range = {
|
||||
.flags = IO_ATTR_RW,
|
||||
.base = PCI_CONFIG_ADDR,
|
||||
.len = 1U
|
||||
};
|
||||
|
||||
struct vm_io_range pci_cfgdata_range = {
|
||||
.flags = IO_ATTR_RW,
|
||||
.base = PCI_CONFIG_DATA,
|
||||
.len = 4U
|
||||
};
|
||||
|
Reference in New Issue
Block a user