StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
sectorMemMap.h
1 // MZ maps
2 
3 // memory
4 #define MZ_MEM_BASE_ADDR_CPU_C 0xE0000000
5 #define MZ_MEM_BASE_ADDR_CPU_NC 0xF0000000
6 #define MZ_SDRAM_OFF 0x00400000
7 #define MZ_VRAM_OFF 0x00000000
8 
9 
10 // PLX regs.
11 #define MZ_PLX_BASE_ADDR_CPU 0xA0000000
12 
13 // PCI region
14 #define MZ_PCI_BASE_ADDR_CPU 0x00000000
15 
16 // Control region
17 #define MZ_CNTRL_BASE_ADDR_CPU 0xC0000000
18 #define MZ_ASIC_OFF 0x00000000
19 #define MZ_ASIC_BUFFER 0x00000200
20 #define MZ_ASIC_INT 0x00000204
21 #define MZ_VRAM_WPBM 0x00000400
22 #define MZ_SER_CLEAR 0x00000404
23 #define MZ_SER_ISSUE 0x0000040C
24 
25 // RB maps
26 
27 #define RB_CNTRL_BASE_ADDR_PCI 0x12000000
28 #define RB_RB_VRAM_OFF 0x00000000
29 #define RB_RB_CNTRL_OFF 0x00008000
30 #define CLR_BSY_0 0x00000000
31 #define CLR_BSY_1 0x00000004
32 #define CLR_BSY_2 0x00000008
33 #define LVL_BSY_0 0x00000010
34 #define LVL_BSY_1 0x00000014
35 #define LVL_BSY_2 0x00000018
36 #define FEND_CLR 0x00000020
37 #define FEND_STAT 0x00000024
38 #define FEND_ERR 0x00000028
39 #define SVT_MODE 0x0000002C
40 #define RB_MZ0_CNTRL_OFF 0x00010000
41 #define RB_MZ1_CNTRL_OFF 0x00020000
42 #define RB_MZ2_CNTRL_OFF 0x00030000
43 #define RB_RB_PLX_OFF 0x00040000
44 #define RB_MZ0_PLX_OFF 0x00050000
45 #define RB_MZ1_PLX_OFF 0x00060000
46 #define RB_MZ2_PLX_OFF 0x00070000
47 #define RB_RB_UNI_OFF 0x00080000
48 
49 #define RB_MEM_BASE_ADDR_PCI 0x10000000
50 #define RB_RB_SDRAM_OFF 0x00000000
51 #define RB_MZ0_MEM_OFF 0x00800000
52 #define RB_MZ1_MEM_OFF 0x01000000
53 #define RB_MZ2_MEM_OFF 0x01800000
54 
55 
56 // PCI configuration cycles
57 
58 #define RB_PCICFG_UNI_OFFSET 0x00000800
59 #define RB_PCICFG_PLX_OFFSET 0x00001000
60 #define RB_PCICFG_MZ0_OFFSET 0x00001800
61 #define RB_PCICFG_MZ1_OFFSET 0x00002000
62 #define RB_PCICFG_MZ2_OFFSET 0x00002800
63 
64 // RB to VME maps
65 #define RB_SB_MEM_BASE_PCI 0x00000000
66 
67 
68 // VME->RB mapping
69 
70 #define RB_MEM_BASE_ADDR_VME 0x10000000
71 #define RB_MEM_BASE_ADDR_MAP 0x10000000
72 #define RB_MEM_OFFSET_VME 0x02000000
73 
74 #define RB_CNTRL_BASE_ADDR_VME 0x28000000
75 #define RB_CNTRL_PCICFG_OFFSET_VME 0x00090000
76 #define RB_CNTRL_BASE_ADDR_MAP 0x12000000
77 
78 #define RB_CNTRL_OFFSET_VME 0x00100000
79 
80 
81