test: duodma.h File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# duodma.h File Reference

Go to the source code of this file.

## Classes

struct | _DMA_REGISTER
struct | _DMA_LARGE_REGISTER
struct | _DMA_CHANNEL
struct | _DMA_REGISTERS
struct | _DMA_CHANNEL_MODE
struct | _DMA_CHANNEL_ENABLE
struct | _TRANSLATION_ENTRY

## Defines

#define | LOAD_CLEAN_EXCLUSIVE 0x20
#define | DISABLE_EISA_MEMORY 0x10
#define | ENABLE_PROCESSOR_B 0x08
#define | MAP_PROM 0x04
#define | ENABLE_CHANNEL_INTERRUPTS (1 << 0)
#define | ENABLE_DEVICE_INTERRUPTS (1 << 1)
#define | ENABLE_EISA_INTERRUPTS (1 << 2)
#define | ENABLE_TIMER_INTERRUPTS (1 << 3)
#define | ENABLE_IP_INTERRUPTS (1 << 4)
#define | EISA_NMI_VECTOR 0x8000
#define | NMI_SRC_MEMORY_ERROR 1
#define | NMI_SRC_R4000_ADDRESS_ERROR 2
#define | NMI_SRC_IO_CACHE_ERROR 4
#define | NMI_SRC_ADR_NMI 8
#define | ACCESS_40NS 0x0
#define | ACCESS_80NS 0x1
#define | ACCESS_120NS 0x2
#define | ACCESS_160NS 0x3
#define | ACCESS_200NS 0x4
#define | ACCESS_240NS 0x5
#define | ACCESS_280NS 0x6
#define | ACCESS_320NS 0x7
#define | WIDTH_8BITS 0x1
#define | WIDTH_16BITS 0x2
#define | WIDTH_32BITS 0x3
#define | DMA_READ_OP 0x0
#define | DMA_WRITE_OP 0x1
#define | SONIC_ADDRESS_ERROR 4
#define | SONIC_MEMORY_ERROR 0x40
#define | EISA_ADDRESS_ERROR 1
#define | EISA_MEMORY_ERROR 2
#define | LFAR_ADDRESS_MASK 0xfffff000
#define | RFAR_ADDRESS_MASK 0x00ffffc0
#define | MFAR_ADDRESS_MASK 0x1ffffff0
#define | ECC_SINGLE_BIT_DP0 0x02000000
#define | ECC_SINGLE_BIT_DP1 0x20000000
#define | ECC_SINGLE_BIT ( ECC_SINGLE_BIT_DP0 | ECC_SINGLE_BIT_DP1 )
#define | ECC_DOUBLE_BIT_DP0 0x04000000
#define | ECC_DOUBLE_BIT_DP1 0x40000000
#define | ECC_DOUBLE_BIT ( ECC_DOUBLE_BIT_DP0 | ECC_DOUBLE_BIT_DP1 )
#define | ECC_MULTIPLE_BIT_DP0 0x08000000
#define | ECC_MULTIPLE_BIT_DP1 0x80000000
#define | ECC_FORCE_DP0 0x010000
#define | ECC_FORCE_DP1 0x100000
#define | ECC_DISABLE_SINGLE_DP0 0x020000
#define | ECC_DISABLE_SINGLE_DP1 0x200000
#define | ECC_ENABLE_DP0 0x040000
#define | ECC_ENABLE_DP1 0x400000
#define | DIAG_NMI_SWITCH 2
#define | SINGLE_ERROR 1
#define | MULTIPLE_ERROR 2
#define | RFAR_CACHE_FLUSH 4

## Typedefs

typedef _DMA_REGISTER | DMA_REGISTER
typedef _DMA_REGISTER * | PDMA_REGISTER
typedef _DMA_LARGE_REGISTER | DMA_LARGE_REGISTER
typedef _DMA_LARGE_REGISTER * | PDMA_LARGE_REGISTER
typedef _DMA_CHANNEL | DMA_CHANNEL
typedef _DMA_CHANNEL * | PDMA_CHANNEL
typedef _DMA_REGISTERS | DMA_REGISTERS
typedef _DMA_REGISTERS * | PDMA_REGISTERS
typedef _DMA_CHANNEL_MODE | DMA_CHANNEL_MODE
typedef _DMA_CHANNEL_MODE * | PDMA_CHANNEL_MODE
typedef _DMA_CHANNEL_ENABLE | DMA_CHANNEL_ENABLE
typedef _DMA_CHANNEL_ENABLE * | PDMA_CHANNEL_ENABLE
typedef _TRANSLATION_ENTRY | TRANSLATION_ENTRY
typedef _TRANSLATION_ENTRY * | PTRANSLATION_ENTRY

## Define Documentation

#define ACCESS_120NS 0x2

| Definition at line 147 of file duodma.h.

#define ACCESS_160NS 0x3

| Definition at line 148 of file duodma.h.

#define ACCESS_200NS 0x4

| Definition at line 149 of file duodma.h.

#define ACCESS_240NS 0x5

| Definition at line 150 of file duodma.h.

#define ACCESS_280NS 0x6

| Definition at line 151 of file duodma.h.

#define ACCESS_320NS 0x7

| Definition at line 152 of file duodma.h.

#define ACCESS_40NS 0x0

| Definition at line 145 of file duodma.h.

#define ACCESS_80NS 0x1

| Definition at line 146 of file duodma.h.

#define DIAG_NMI_SWITCH 2

| Definition at line 233 of file duodma.h.

#define DISABLE_EISA_MEMORY 0x10

| Definition at line 101 of file duodma.h.

#define DMA_READ_OP 0x0

| Definition at line 180 of file duodma.h.

#define DMA_WRITE_OP 0x1

| Definition at line 181 of file duodma.h.

#define ECC_DISABLE_SINGLE_DP0 0x020000

| Definition at line 224 of file duodma.h.

#define ECC_DISABLE_SINGLE_DP1 0x200000

| Definition at line 225 of file duodma.h.

#define ECC_DOUBLE_BIT ( ECC_DOUBLE_BIT_DP0 | ECC_DOUBLE_BIT_DP1 )

| Definition at line 218 of file duodma.h.

#define ECC_DOUBLE_BIT_DP0 0x04000000

| Definition at line 216 of file duodma.h.

#define ECC_DOUBLE_BIT_DP1 0x40000000

| Definition at line 217 of file duodma.h.

#define ECC_ENABLE_DP0 0x040000

| Definition at line 226 of file duodma.h.

#define ECC_ENABLE_DP1 0x400000

| Definition at line 227 of file duodma.h.

#define ECC_FORCE_DP0 0x010000

| Definition at line 222 of file duodma.h.

#define ECC_FORCE_DP1 0x100000

| Definition at line 223 of file duodma.h.

#define ECC_MULTIPLE_BIT_DP0 0x08000000

| Definition at line 219 of file duodma.h.

#define ECC_MULTIPLE_BIT_DP1 0x80000000

| Definition at line 220 of file duodma.h.

#define ECC_SINGLE_BIT ( ECC_SINGLE_BIT_DP0 | ECC_SINGLE_BIT_DP1 )

| Definition at line 215 of file duodma.h.

#define ECC_SINGLE_BIT_DP0 0x02000000

| Definition at line 213 of file duodma.h.

#define ECC_SINGLE_BIT_DP1 0x20000000

| Definition at line 214 of file duodma.h.

#define EISA_ADDRESS_ERROR 1

| Definition at line 198 of file duodma.h.

#define EISA_MEMORY_ERROR 2

| Definition at line 199 of file duodma.h.

#define EISA_NMI_VECTOR 0x8000

| Definition at line 118 of file duodma.h.

#define ENABLE_CHANNEL_INTERRUPTS (1 << 0)

| Definition at line 108 of file duodma.h.

#define ENABLE_DEVICE_INTERRUPTS (1 << 1)

| Definition at line 109 of file duodma.h.

#define ENABLE_EISA_INTERRUPTS (1 << 2)

| Definition at line 110 of file duodma.h.

#define ENABLE_IP_INTERRUPTS (1 << 4)

| Definition at line 112 of file duodma.h.

#define ENABLE_PROCESSOR_B 0x08

| Definition at line 102 of file duodma.h.

#define ENABLE_TIMER_INTERRUPTS (1 << 3)

| Definition at line 111 of file duodma.h.

#define LFAR_ADDRESS_MASK 0xfffff000

| Definition at line 205 of file duodma.h.

#define LOAD_CLEAN_EXCLUSIVE 0x20

| Definition at line 100 of file duodma.h.

#define MAP_PROM 0x04

| Definition at line 103 of file duodma.h.

#define MFAR_ADDRESS_MASK 0x1ffffff0

| Definition at line 207 of file duodma.h.

#define MULTIPLE_ERROR 2

| Definition at line 240 of file duodma.h.

#define NMI_SRC_ADR_NMI 8

| Definition at line 127 of file duodma.h.

#define NMI_SRC_IO_CACHE_ERROR 4

| Definition at line 126 of file duodma.h.

#define NMI_SRC_MEMORY_ERROR 1

| Definition at line 124 of file duodma.h.

#define NMI_SRC_R4000_ADDRESS_ERROR 2

| Definition at line 125 of file duodma.h.

#define RFAR_ADDRESS_MASK 0x00ffffc0

| Definition at line 206 of file duodma.h.

#define RFAR_CACHE_FLUSH 4

| Definition at line 241 of file duodma.h.

#define SINGLE_ERROR 1

| Definition at line 239 of file duodma.h.

#define SONIC_ADDRESS_ERROR 4

| Definition at line 196 of file duodma.h.

#define SONIC_MEMORY_ERROR 0x40

| Definition at line 197 of file duodma.h.

#define WIDTH_16BITS 0x2

| Definition at line 159 of file duodma.h.

#define WIDTH_32BITS 0x3

| Definition at line 160 of file duodma.h.

#define WIDTH_8BITS 0x1

| Definition at line 158 of file duodma.h.

## Typedef Documentation

typedef struct _DMA_CHANNEL DMA_CHANNEL

typedef struct _DMA_CHANNEL_ENABLE DMA_CHANNEL_ENABLE

typedef struct _DMA_CHANNEL_MODE DMA_CHANNEL_MODE

typedef struct _DMA_LARGE_REGISTER DMA_LARGE_REGISTER

typedef struct _DMA_REGISTER DMA_REGISTER

typedef struct _DMA_REGISTERS DMA_REGISTERS

typedef struct _DMA_CHANNEL * PDMA_CHANNEL

typedef struct _DMA_CHANNEL_ENABLE * PDMA_CHANNEL_ENABLE

typedef struct _DMA_CHANNEL_MODE * PDMA_CHANNEL_MODE

typedef struct _DMA_LARGE_REGISTER * PDMA_LARGE_REGISTER

typedef struct _DMA_REGISTER * PDMA_REGISTER

typedef struct _DMA_REGISTERS * PDMA_REGISTERS

typedef struct _TRANSLATION_ENTRY * PTRANSLATION_ENTRY

typedef struct _TRANSLATION_ENTRY TRANSLATION_ENTRY