Revision 6ebf5905 hw/pci_host.h
b/hw/pci_host.h | ||
---|---|---|
33 | 33 |
|
34 | 34 |
struct PCIHostState { |
35 | 35 |
SysBusDevice busdev; |
36 |
ReadWriteHandler conf_noswap_handler; |
|
37 | 36 |
ReadWriteHandler conf_handler; |
38 |
ReadWriteHandler data_noswap_handler; |
|
39 | 37 |
ReadWriteHandler data_handler; |
40 | 38 |
uint32_t config_reg; |
41 | 39 |
PCIBus *bus; |
... | ... | |
45 | 43 |
uint32_t pci_data_read(PCIBus *s, uint32_t addr, int len); |
46 | 44 |
|
47 | 45 |
/* for mmio */ |
48 |
int pci_host_conf_register_mmio(PCIHostState *s, int swap);
|
|
49 |
int pci_host_data_register_mmio(PCIHostState *s, int swap);
|
|
46 |
int pci_host_conf_register_mmio(PCIHostState *s, int endian);
|
|
47 |
int pci_host_data_register_mmio(PCIHostState *s, int endian);
|
|
50 | 48 |
|
51 | 49 |
/* for ioio */ |
52 | 50 |
void pci_host_conf_register_ioport(pio_addr_t ioport, PCIHostState *s); |
Also available in: Unified diff