Revision 99a0949b hw/unin_pci.c
b/hw/unin_pci.c | ||
---|---|---|
35 | 35 |
#define UNIN_DPRINTF(fmt, ...) |
36 | 36 |
#endif |
37 | 37 |
|
38 |
typedef target_phys_addr_t pci_addr_t;
|
|
38 |
typedef a_target_phys_addr a_pci_addr;
|
|
39 | 39 |
#include "pci_host.h" |
40 | 40 |
|
41 | 41 |
typedef struct UNINState { |
... | ... | |
43 | 43 |
PCIHostState host_state; |
44 | 44 |
} UNINState; |
45 | 45 |
|
46 |
static void pci_unin_main_config_writel (void *opaque, target_phys_addr_t addr,
|
|
46 |
static void pci_unin_main_config_writel (void *opaque, a_target_phys_addr addr,
|
|
47 | 47 |
uint32_t val) |
48 | 48 |
{ |
49 | 49 |
UNINState *s = opaque; |
... | ... | |
57 | 57 |
} |
58 | 58 |
|
59 | 59 |
static uint32_t pci_unin_main_config_readl (void *opaque, |
60 |
target_phys_addr_t addr)
|
|
60 |
a_target_phys_addr addr)
|
|
61 | 61 |
{ |
62 | 62 |
UNINState *s = opaque; |
63 | 63 |
uint32_t val; |
... | ... | |
95 | 95 |
&pci_host_data_readl, |
96 | 96 |
}; |
97 | 97 |
|
98 |
static void pci_unin_config_writel (void *opaque, target_phys_addr_t addr,
|
|
98 |
static void pci_unin_config_writel (void *opaque, a_target_phys_addr addr,
|
|
99 | 99 |
uint32_t val) |
100 | 100 |
{ |
101 | 101 |
UNINState *s = opaque; |
... | ... | |
104 | 104 |
} |
105 | 105 |
|
106 | 106 |
static uint32_t pci_unin_config_readl (void *opaque, |
107 |
target_phys_addr_t addr)
|
|
107 |
a_target_phys_addr addr)
|
|
108 | 108 |
{ |
109 | 109 |
UNINState *s = opaque; |
110 | 110 |
|
Also available in: Unified diff