blob: a2044782e5274f93322cf57a30b845efd13fad3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Definitions for the address map in the JUNKIO Asic
*
* Created with Information from:
*
* "DEC 3000 300/400/500/600/700/800/900 AXP Models System Programmer's Manual"
*
* and the Mach Sources
*/
#ifndef IOASIC_ADDRS_H
#define IOASIC_ADDRS_H
#define CHUNK_SIZE 0x00040000
#define SYSTEM_ROM 00*CHUNK_SIZE /* ??? */
#define IOCTL 01*CHUNK_SIZE
#define ESAR 02*CHUNK_SIZE
#define LANCE 03*CHUNK_SIZE
#define SCC0 04*CHUNK_SIZE
#define VDAC_HI 05*CHUNK_SIZE /* maxine only */
#define SCC1 06*CHUNK_SIZE
#define VDAC_LO 07*CHUNK_SIZE /* maxine only */
#define TOY 08*CHUNK_SIZE
#define ISDN 09*CHUNK_SIZE /* maxine only */
#define ERRADDR 09*CHUNK_SIZE /* 3maxplus only */
#define CHKSYN 10*CHUNK_SIZE /* 3maxplus only */
#define ACCESS_BUS 10*CHUNK_SIZE /* maxine only */
#define MCR 11*CHUNK_SIZE /* 3maxplus only */
#define FLOPPY 11*CHUNK_SIZE /* maxine only */
#define SCSI 12*CHUNK_SIZE
#define FLOPPY_DMA 13*CHUNK_SIZE /* maxine only */
#define SCSI_DMA 14*CHUNK_SIZE
#define RESERVED_4 15*CHUNK_SIZE
/*
* Offsets for IOCTL registers (relative to (system_base + IOCTL))
*/
#define SCSI_DMA_P 0x00 /* SCSI DMA Pointer */
#define SCSI_DMA_BP 0x10 /* SCSI DMA Buffer Pointer */
#define LANCE_DMA_P 0x20 /* LANCE DMA Pointer */
#define SCC0_T_DMA_P 0x30 /* Communication Port 1 Transmit DMA Pointer */
#define SCC0_R_DMA_P 0x40 /* Communication Port 1 Receive DMA Pointer */
#define SCC1_T_DMA_P 0x50 /* Communication Port 2 Transmit DMA Pointer */
#define SCC1_R_DMA_P 0x60 /* Communication Port 2 Receive DMA Pointer */
#define FLOPPY_DMA_P 0x70 /* Floppy DMA Pointer */
#define ISDN_T_DMA_P 0x80 /* ISDN Transmit DMA Pointer */
#define ISDN_T_DMA_BP 0x90 /* ISDN Transmit DMA Buffer Pointer */
#define ISDN_R_DMA_P 0xa0 /* ISDN Receive DMA Pointer */
#define ISDN_R_DMA_BP 0xb0 /* ISDN Receive DMA Buffer Pointer */
#define SSR 0x100 /* System Support Register */
#define SIR 0x110 /* System Interrupt Register */
#define SIMR 0x120 /* System Interrupt Mask Register */
/*
* These come from mach, meaning unkown yet
*/
#define SCSI_SCR 0x1b0
#define SCSI_SDR0 0x1c0
#define SCSI_SDR1 0x1d0
#endif
|