Revision a8170e5e hw/sun4m.h
b/hw/sun4m.h | ||
---|---|---|
6 | 6 |
/* Devices used by sparc32 system. */ |
7 | 7 |
|
8 | 8 |
/* iommu.c */ |
9 |
void sparc_iommu_memory_rw(void *opaque, target_phys_addr_t addr,
|
|
9 |
void sparc_iommu_memory_rw(void *opaque, hwaddr addr,
|
|
10 | 10 |
uint8_t *buf, int len, int is_write); |
11 | 11 |
static inline void sparc_iommu_memory_read(void *opaque, |
12 |
target_phys_addr_t addr,
|
|
12 |
hwaddr addr,
|
|
13 | 13 |
uint8_t *buf, int len) |
14 | 14 |
{ |
15 | 15 |
sparc_iommu_memory_rw(opaque, addr, buf, len, 0); |
16 | 16 |
} |
17 | 17 |
|
18 | 18 |
static inline void sparc_iommu_memory_write(void *opaque, |
19 |
target_phys_addr_t addr,
|
|
19 |
hwaddr addr,
|
|
20 | 20 |
uint8_t *buf, int len) |
21 | 21 |
{ |
22 | 22 |
sparc_iommu_memory_rw(opaque, addr, buf, len, 1); |
Also available in: Unified diff