Revision a8170e5e hw/xtensa_lx60.c
b/hw/xtensa_lx60.c | ||
---|---|---|
58 | 58 |
s->switches = 0; |
59 | 59 |
} |
60 | 60 |
|
61 |
static uint64_t lx60_fpga_read(void *opaque, target_phys_addr_t addr,
|
|
61 |
static uint64_t lx60_fpga_read(void *opaque, hwaddr addr,
|
|
62 | 62 |
unsigned size) |
63 | 63 |
{ |
64 | 64 |
Lx60FpgaState *s = opaque; |
... | ... | |
79 | 79 |
return 0; |
80 | 80 |
} |
81 | 81 |
|
82 |
static void lx60_fpga_write(void *opaque, target_phys_addr_t addr,
|
|
82 |
static void lx60_fpga_write(void *opaque, hwaddr addr,
|
|
83 | 83 |
uint64_t val, unsigned size) |
84 | 84 |
{ |
85 | 85 |
Lx60FpgaState *s = opaque; |
... | ... | |
104 | 104 |
}; |
105 | 105 |
|
106 | 106 |
static Lx60FpgaState *lx60_fpga_init(MemoryRegion *address_space, |
107 |
target_phys_addr_t base)
|
|
107 |
hwaddr base)
|
|
108 | 108 |
{ |
109 | 109 |
Lx60FpgaState *s = g_malloc(sizeof(Lx60FpgaState)); |
110 | 110 |
|
... | ... | |
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
static void lx60_net_init(MemoryRegion *address_space, |
120 |
target_phys_addr_t base,
|
|
121 |
target_phys_addr_t descriptors,
|
|
122 |
target_phys_addr_t buffers,
|
|
120 |
hwaddr base,
|
|
121 |
hwaddr descriptors,
|
|
122 |
hwaddr buffers,
|
|
123 | 123 |
qemu_irq irq, NICInfo *nd) |
124 | 124 |
{ |
125 | 125 |
DeviceState *dev; |
Also available in: Unified diff