pcie: pass pcie window size to pcie_host_mmcfg_update()
[qemu/ar7.git] / hw / sun4m.h
bloba8c31337038b4e5662a9ace6c9cf5ef5e2bc70c5
1 #ifndef SUN4M_H
2 #define SUN4M_H
4 #include "qemu-common.h"
6 /* Devices used by sparc32 system. */
8 /* iommu.c */
9 void sparc_iommu_memory_rw(void *opaque, hwaddr addr,
10 uint8_t *buf, int len, int is_write);
11 static inline void sparc_iommu_memory_read(void *opaque,
12 hwaddr addr,
13 uint8_t *buf, int len)
15 sparc_iommu_memory_rw(opaque, addr, buf, len, 0);
18 static inline void sparc_iommu_memory_write(void *opaque,
19 hwaddr addr,
20 uint8_t *buf, int len)
22 sparc_iommu_memory_rw(opaque, addr, buf, len, 1);
25 /* slavio_intctl.c */
26 void slavio_pic_info(Monitor *mon, DeviceState *dev);
27 void slavio_irq_info(Monitor *mon, DeviceState *dev);
29 /* sun4c_intctl.c */
30 void sun4c_pic_info(Monitor *mon, void *opaque);
31 void sun4c_irq_info(Monitor *mon, void *opaque);
33 /* sun4m.c */
34 void sun4m_pic_info(Monitor *mon);
35 void sun4m_irq_info(Monitor *mon);
37 /* sparc32_dma.c */
38 #include "sparc32_dma.h"
40 #endif