/[VMELinux]/vmeutils/universe.h
ViewVC logotype

Contents of /vmeutils/universe.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Mon Jun 18 14:57:44 2001 UTC (18 years, 9 months ago) by astro
Branch: MAIN
CVS Tags: vmelinux-1_1_2, Linux2_4_x
Changes since 1.1: +2 -6 lines
File MIME type: text/plain
Changed the device number from 70 to 221 as assigned by the Linux authorities.
1 //------------------------------------------------------------------------------
2 //title: VME Debugger for XVME-655
3 //version: Linux 0.0
4 //programmer: Michael Wyrick
5 //project: VMELinux Project in association with Chesapeake Research
6 //------------------------------------------------------------------------------
7 // Purpose:
8 // Docs:
9 //------------------------------------------------------------------------------
10 // $Id: universe.h,v 1.2 2001/06/18 14:57:44 astro Exp $
11 //------------------------------------------------------------------------------
12 #define CONFIG_REG_SPACE 0xA0000000
13
14 #define PCI_SIZE_8 0x0001
15 #define PCI_SIZE_16 0x0002
16 #define PCI_SIZE_32 0x0003
17
18 #define IOCTL_SET_CTL 0xF001
19 #define IOCTL_SET_BS 0xF002
20 #define IOCTL_SET_BD 0xF003
21 #define IOCTL_SET_TO 0xF004
22 #define IOCTL_PCI_SIZE 0xF005
23 #define IOCTL_SET_MODE 0xF006
24 #define IOCTL_SET_WINT 0xF007
25
26 #define PCI_ID 0x0000
27 #define PCI_CSR 0x0004
28 #define PCI_CLASS 0x0008
29 #define PCI_MISC0 0x000C
30 #define PCI_BS 0x0010
31 #define PCI_MISC1 0x003C
32
33 #define LSI0_CTL 0x0100
34 #define CTL_EN 0x80000000
35 #define CTL_PWEN 0x40000000
36
37 #define CTL_VDW 0x00C00000
38 #define CTL_VDW_8 0x00000000
39 #define CTL_VDW_16 0x00400000
40 #define CTL_VDW_32 0x00800000
41 #define CTL_VDW_64 0x00C00000
42
43 #define CTL_VAS 0x00070000
44 #define CTL_VAS_A16 0x00000000
45 #define CTL_VAS_A24 0x00010000
46 #define CTL_VAS_A32 0x00020000
47 #define CTL_VAS_CR_CSR 0x00050000
48
49
50 #define CTL_PGM 0x0000C000
51 #define CTL_SUPER 0x00003000
52 #define CTL_VCT 0x00000100
53 #define CTL_LAS 0x00000003
54
55 #define LSI0_BS 0x0104
56 #define LSI0_BD 0x0108
57 #define LSI0_TO 0x010C
58
59 #define LSI1_CTL 0x0114
60 #define LSI1_BS 0x0118
61 #define LSI1_BD 0x011C
62 #define LSI1_TO 0x0120
63
64 #define LSI2_CTL 0x0128
65 #define LSI2_BS 0x012C
66 #define LSI2_BD 0x0130
67 #define LSI2_TO 0x0134
68
69 #define LSI3_CTL 0x013C
70 #define LSI3_BS 0x0140
71 #define LSI3_BD 0x0144
72 #define LSI3_TO 0x0148
73
74 #define SCYC_CTL 0x0170
75 #define SCYC_ADDR 0x0174
76 #define SCYC_EN 0x0178
77 #define SCYC_CMP 0x017C
78 #define SCYC_SWP 0x0180
79 #define LMISC 0x0184
80 #define SLSI 0x0188
81 #define L_CMDERR 0x018C
82 #define LAERR 0x0190
83
84 #define DCTL 0x0200
85 #define DTBC 0x0204
86 #define DLA 0x0208
87 #define DVA 0x0210
88 #define DCPP 0x0218
89 #define DGCS 0x0220
90 #define D_LLUE 0x0224
91
92 #define LINT_EN 0x0300
93 #define LINT_STAT 0x0304
94 #define LINT_MAP0 0x0308
95 #define LINT_MAP1 0x030C
96 #define VINT_EN 0x0310
97 #define VINT_STAT 0x0314
98 #define VINT_MAP0 0x0318
99 #define VINT_MAP1 0x031C
100 #define STATID 0x0320
101 #define V1_STATID 0x0324
102 #define V2_STATID 0x0328
103 #define V3_STATID 0x032C
104 #define V4_STATID 0x0330
105 #define V5_STATID 0x0334
106 #define V6_STATID 0x0338
107 #define V7_STATID 0x033C
108
109 #define MAST_CTL 0x0400
110 #define MISC_CTL 0x0404
111 #define MISC_STAT 0x0408
112 #define USER_AM 0x040C
113
114 #define VSI0_CTL 0x0F00
115 #define VSI0_BS 0x0F04
116 #define VSI0_BD 0x0F08
117 #define VSI0_TO 0x0F0C
118
119 #define VSI1_CTL 0x0F14
120 #define VSI1_BS 0x0F18
121 #define VSI1_BD 0x0F1C
122 #define VSI1_TO 0x0F20
123
124 #define VSI2_CTL 0x0F28
125 #define VSI2_BS 0x0F2C
126 #define VSI2_BD 0x0F30
127 #define VSI2_TO 0x0F34
128
129 #define VSI3_CTL 0x0F3C
130 #define VSI3_BS 0x0F40
131 #define VSI3_BD 0x0F44
132 #define VSI3_TO 0x0F48
133
134 #define VRAI_CTL 0x0F70
135 #define VRAI_BS 0x0F74
136 #define VCSR_CTL 0x0F80
137 #define VCSR_TO 0x0F84
138 #define V_AMERR 0x0F88
139 #define VAERR 0x0F8C
140
141 #define VCSR_CLR 0x0FF4
142 #define VCSR_SET 0x0FF8
143 #define VCSR_BS 0x0FFC

  ViewVC Help
Powered by ViewVC 1.2-dev