Revision 99a0949b hw/grackle_pci.c

b/hw/grackle_pci.c
37 37
#define GRACKLE_DPRINTF(fmt, ...)
38 38
#endif
39 39

  
40
typedef target_phys_addr_t pci_addr_t;
40
typedef a_target_phys_addr a_pci_addr;
41 41
#include "pci_host.h"
42 42

  
43 43
typedef struct GrackleState {
......
45 45
    PCIHostState host_state;
46 46
} GrackleState;
47 47

  
48
static void pci_grackle_config_writel (void *opaque, target_phys_addr_t addr,
48
static void pci_grackle_config_writel (void *opaque, a_target_phys_addr addr,
49 49
                                       uint32_t val)
50 50
{
51 51
    GrackleState *s = opaque;
......
58 58
    s->host_state.config_reg = val;
59 59
}
60 60

  
61
static uint32_t pci_grackle_config_readl (void *opaque, target_phys_addr_t addr)
61
static uint32_t pci_grackle_config_readl (void *opaque, a_target_phys_addr addr)
62 62
{
63 63
    GrackleState *s = opaque;
64 64
    uint32_t val;

Also available in: Unified diff