Revision a8170e5e hw/lm32_uart.c
b/hw/lm32_uart.c | ||
---|---|---|
125 | 125 |
qemu_set_irq(s->irq, irq); |
126 | 126 |
} |
127 | 127 |
|
128 |
static uint64_t uart_read(void *opaque, target_phys_addr_t addr,
|
|
128 |
static uint64_t uart_read(void *opaque, hwaddr addr,
|
|
129 | 129 |
unsigned size) |
130 | 130 |
{ |
131 | 131 |
LM32UartState *s = opaque; |
... | ... | |
160 | 160 |
return r; |
161 | 161 |
} |
162 | 162 |
|
163 |
static void uart_write(void *opaque, target_phys_addr_t addr,
|
|
163 |
static void uart_write(void *opaque, hwaddr addr,
|
|
164 | 164 |
uint64_t value, unsigned size) |
165 | 165 |
{ |
166 | 166 |
LM32UartState *s = opaque; |
Also available in: Unified diff