Statistics
| Branch: | Revision:

root / include / hw / sparc / sun4m.h @ 3bd88451

History | View | Annotate | Download (1.1 kB)

1
#ifndef SUN4M_H
2
#define SUN4M_H
3

    
4
#include "qemu-common.h"
5
#include "exec/hwaddr.h"
6
#include "qapi/qmp/types.h"
7

    
8
/* Devices used by sparc32 system.  */
9

    
10
/* iommu.c */
11
void sparc_iommu_memory_rw(void *opaque, hwaddr addr,
12
                                 uint8_t *buf, int len, int is_write);
13
static inline void sparc_iommu_memory_read(void *opaque,
14
                                           hwaddr addr,
15
                                           uint8_t *buf, int len)
16
{
17
    sparc_iommu_memory_rw(opaque, addr, buf, len, 0);
18
}
19

    
20
static inline void sparc_iommu_memory_write(void *opaque,
21
                                            hwaddr addr,
22
                                            uint8_t *buf, int len)
23
{
24
    sparc_iommu_memory_rw(opaque, addr, buf, len, 1);
25
}
26

    
27
/* slavio_intctl.c */
28
void slavio_pic_info(Monitor *mon, DeviceState *dev);
29
void slavio_irq_info(Monitor *mon, DeviceState *dev);
30

    
31
/* sun4m.c */
32
void sun4m_pic_info(Monitor *mon, const QDict *qdict);
33
void sun4m_irq_info(Monitor *mon, const QDict *qdict);
34

    
35
/* sparc32_dma.c */
36
#include "hw/sparc/sparc32_dma.h"
37

    
38
#endif