Revision a8170e5e hw/pcie_host.h
b/hw/pcie_host.h | ||
---|---|---|
30 | 30 |
/* express part */ |
31 | 31 |
|
32 | 32 |
/* base address where MMCONFIG area is mapped. */ |
33 |
target_phys_addr_t base_addr;
|
|
33 |
hwaddr base_addr;
|
|
34 | 34 |
|
35 | 35 |
/* the size of MMCONFIG area. It's host bridge dependent */ |
36 |
target_phys_addr_t size;
|
|
36 |
hwaddr size;
|
|
37 | 37 |
|
38 | 38 |
/* MMCONFIG mmio area */ |
39 | 39 |
MemoryRegion mmio; |
... | ... | |
41 | 41 |
|
42 | 42 |
int pcie_host_init(PCIExpressHost *e, uint32_t size); |
43 | 43 |
void pcie_host_mmcfg_unmap(PCIExpressHost *e); |
44 |
void pcie_host_mmcfg_map(PCIExpressHost *e, target_phys_addr_t addr);
|
|
44 |
void pcie_host_mmcfg_map(PCIExpressHost *e, hwaddr addr);
|
|
45 | 45 |
void pcie_host_mmcfg_update(PCIExpressHost *e, |
46 | 46 |
int enable, |
47 |
target_phys_addr_t addr);
|
|
47 |
hwaddr addr);
|
|
48 | 48 |
|
49 | 49 |
#endif /* PCIE_HOST_H */ |
Also available in: Unified diff