root / hw / sun4m.h @ 4b78a802
History | View | Annotate | Download (1 kB)
1 | 87ecb68b | pbrook | #ifndef SUN4M_H
|
---|---|---|---|
2 | 87ecb68b | pbrook | #define SUN4M_H
|
3 | 87ecb68b | pbrook | |
4 | 376253ec | aliguori | #include "qemu-common.h" |
5 | 376253ec | aliguori | |
6 | 87ecb68b | pbrook | /* Devices used by sparc32 system. */
|
7 | 87ecb68b | pbrook | |
8 | 87ecb68b | pbrook | /* iommu.c */
|
9 | c227f099 | Anthony Liguori | void sparc_iommu_memory_rw(void *opaque, target_phys_addr_t addr, |
10 | 87ecb68b | pbrook | uint8_t *buf, int len, int is_write); |
11 | 87ecb68b | pbrook | static inline void sparc_iommu_memory_read(void *opaque, |
12 | c227f099 | Anthony Liguori | target_phys_addr_t addr, |
13 | 87ecb68b | pbrook | uint8_t *buf, int len)
|
14 | 87ecb68b | pbrook | { |
15 | 87ecb68b | pbrook | sparc_iommu_memory_rw(opaque, addr, buf, len, 0);
|
16 | 87ecb68b | pbrook | } |
17 | 87ecb68b | pbrook | |
18 | 87ecb68b | pbrook | static inline void sparc_iommu_memory_write(void *opaque, |
19 | c227f099 | Anthony Liguori | target_phys_addr_t addr, |
20 | 87ecb68b | pbrook | uint8_t *buf, int len)
|
21 | 87ecb68b | pbrook | { |
22 | 87ecb68b | pbrook | sparc_iommu_memory_rw(opaque, addr, buf, len, 1);
|
23 | 87ecb68b | pbrook | } |
24 | 87ecb68b | pbrook | |
25 | 87ecb68b | pbrook | /* slavio_intctl.c */
|
26 | d453c2c3 | Blue Swirl | void slavio_pic_info(Monitor *mon, DeviceState *dev);
|
27 | d453c2c3 | Blue Swirl | void slavio_irq_info(Monitor *mon, DeviceState *dev);
|
28 | 87ecb68b | pbrook | |
29 | ee76f82e | blueswir1 | /* sun4c_intctl.c */
|
30 | 376253ec | aliguori | void sun4c_pic_info(Monitor *mon, void *opaque); |
31 | 376253ec | aliguori | void sun4c_irq_info(Monitor *mon, void *opaque); |
32 | ee76f82e | blueswir1 | |
33 | 87ecb68b | pbrook | /* sparc32_dma.c */
|
34 | 216fdffa | blueswir1 | #include "sparc32_dma.h" |
35 | 87ecb68b | pbrook | |
36 | 87ecb68b | pbrook | #endif |