Revision f08b32fe hw/pci_host.c
b/hw/pci_host.c | ||
---|---|---|
116 | 116 |
&pci_host_config_readl, |
117 | 117 |
}; |
118 | 118 |
|
119 |
int pci_host_config_register_io_memory(PCIHostState *s)
|
|
119 |
int pci_host_conf_register_mmio(PCIHostState *s)
|
|
120 | 120 |
{ |
121 | 121 |
return cpu_register_io_memory(pci_host_config_read, |
122 | 122 |
pci_host_config_write, s); |
... | ... | |
156 | 156 |
&pci_host_config_readl_noswap, |
157 | 157 |
}; |
158 | 158 |
|
159 |
int pci_host_config_register_io_memory_noswap(PCIHostState *s)
|
|
159 |
int pci_host_conf_register_mmio_noswap(PCIHostState *s)
|
|
160 | 160 |
{ |
161 | 161 |
return cpu_register_io_memory(pci_host_config_read_noswap, |
162 | 162 |
pci_host_config_write_noswap, s); |
... | ... | |
180 | 180 |
return val; |
181 | 181 |
} |
182 | 182 |
|
183 |
void pci_host_config_register_ioport(pio_addr_t ioport, PCIHostState *s)
|
|
183 |
void pci_host_conf_register_ioport(pio_addr_t ioport, PCIHostState *s) |
|
184 | 184 |
{ |
185 | 185 |
register_ioport_write(ioport, 4, 4, pci_host_config_writel_ioport, s); |
186 | 186 |
register_ioport_read(ioport, 4, 4, pci_host_config_readl_ioport, s); |
... | ... | |
203 | 203 |
pci_host_data_readl_mmio, |
204 | 204 |
}; |
205 | 205 |
|
206 |
int pci_host_data_register_io_memory(PCIHostState *s)
|
|
206 |
int pci_host_data_register_mmio(PCIHostState *s)
|
|
207 | 207 |
{ |
208 | 208 |
return cpu_register_io_memory(pci_host_data_read_mmio, |
209 | 209 |
pci_host_data_write_mmio, |
Also available in: Unified diff