]>
Commit | Line | Data |
---|---|---|
87ecb68b PB |
1 | #ifndef SUN4M_H |
2 | #define SUN4M_H | |
3 | ||
376253ec AL |
4 | #include "qemu-common.h" |
5 | ||
87ecb68b PB |
6 | /* Devices used by sparc32 system. */ |
7 | ||
8 | /* iommu.c */ | |
a8170e5e | 9 | void sparc_iommu_memory_rw(void *opaque, hwaddr addr, |
87ecb68b PB |
10 | uint8_t *buf, int len, int is_write); |
11 | static inline void sparc_iommu_memory_read(void *opaque, | |
a8170e5e | 12 | hwaddr addr, |
87ecb68b PB |
13 | uint8_t *buf, int len) |
14 | { | |
15 | sparc_iommu_memory_rw(opaque, addr, buf, len, 0); | |
16 | } | |
17 | ||
18 | static inline void sparc_iommu_memory_write(void *opaque, | |
a8170e5e | 19 | hwaddr addr, |
87ecb68b PB |
20 | uint8_t *buf, int len) |
21 | { | |
22 | sparc_iommu_memory_rw(opaque, addr, buf, len, 1); | |
23 | } | |
24 | ||
87ecb68b | 25 | /* slavio_intctl.c */ |
d453c2c3 BS |
26 | void slavio_pic_info(Monitor *mon, DeviceState *dev); |
27 | void slavio_irq_info(Monitor *mon, DeviceState *dev); | |
87ecb68b | 28 | |
661f1929 JK |
29 | /* sun4m.c */ |
30 | void sun4m_pic_info(Monitor *mon); | |
31 | void sun4m_irq_info(Monitor *mon); | |
32 | ||
87ecb68b | 33 | /* sparc32_dma.c */ |
216fdffa | 34 | #include "sparc32_dma.h" |
87ecb68b | 35 | |
87ecb68b | 36 | #endif |