Go to the documentation of this file.
37 #ifndef __MALTAREG_H__
38 #define __MALTAREG_H__
40 #define ALPHA_K0SEG_BASE ULL(0xfffffc0000000000)
43 #define TSDEV_CC_CSR 0x00
44 #define TSDEV_CC_MTR 0x01
45 #define TSDEV_CC_MISC 0x02
47 #define TSDEV_CC_AAR0 0x04
48 #define TSDEV_CC_AAR1 0x05
49 #define TSDEV_CC_AAR2 0x06
50 #define TSDEV_CC_AAR3 0x07
51 #define TSDEV_CC_DIM0 0x08
52 #define TSDEV_CC_DIM1 0x09
53 #define TSDEV_CC_DIR0 0x0A
54 #define TSDEV_CC_DIR1 0x0B
55 #define TSDEV_CC_DRIR 0x0C
56 #define TSDEV_CC_PRBEN 0x0D
57 #define TSDEV_CC_IIC0 0x0E
58 #define TSDEV_CC_IIC1 0x0F
59 #define TSDEV_CC_MPR0 0x10
60 #define TSDEV_CC_MPR1 0x11
61 #define TSDEV_CC_MPR2 0x12
62 #define TSDEV_CC_MPR3 0x13
64 #define TSDEV_CC_DIM2 0x18
65 #define TSDEV_CC_DIM3 0x19
66 #define TSDEV_CC_DIR2 0x1A
67 #define TSDEV_CC_DIR3 0x1B
68 #define TSDEV_CC_IIC2 0x1C
69 #define TSDEV_CC_IIC3 0x1D
72 #define TSDEV_CC_BDIMS 0x1000000
73 #define TSDEV_CC_BDIRS 0x2000000
74 #define TSDEV_CC_IPIQ 0x20 //0xf01a000800
75 #define TSDEV_CC_IPIR 0x21 //0xf01a000840
76 #define TSDEV_CC_ITIR 0x22 //0xf01a000880
80 #define TSDEV_PC_WSBA0 0x00
81 #define TSDEV_PC_WSBA1 0x01
82 #define TSDEV_PC_WSBA2 0x02
83 #define TSDEV_PC_WSBA3 0x03
84 #define TSDEV_PC_WSM0 0x04
85 #define TSDEV_PC_WSM1 0x05
86 #define TSDEV_PC_WSM2 0x06
87 #define TSDEV_PC_WSM3 0x07
88 #define TSDEV_PC_TBA0 0x08
89 #define TSDEV_PC_TBA1 0x09
90 #define TSDEV_PC_TBA2 0x0A
91 #define TSDEV_PC_TBA3 0x0B
92 #define TSDEV_PC_PCTL 0x0C
93 #define TSDEV_PC_PLAT 0x0D
94 #define TSDEV_PC_RES 0x0E
95 #define TSDEV_PC_PERROR 0x0F
96 #define TSDEV_PC_PERRMASK 0x10
97 #define TSDEV_PC_PERRSET 0x11
98 #define TSDEV_PC_TLBIV 0x12
99 #define TSDEV_PC_TLBIA 0x13
100 #define TSDEV_PC_PMONCTL 0x14
101 #define TSDEV_PC_PMONCNT 0x15
103 #define TSDEV_PC_SPST 0x20
107 #define TSDEV_DC_DSC 0x20
108 #define TSDEV_DC_STR 0x21
109 #define TSDEV_DC_DREV 0x22
110 #define TSDEV_DC_DSC2 0x23
113 #define TSDEV_PIC1_MASK 0x21
114 #define TSDEV_PIC2_MASK 0xA1
115 #define TSDEV_PIC1_ISR 0x20
116 #define TSDEV_PIC2_ISR 0xA0
117 #define TSDEV_PIC1_ACK 0x20
118 #define TSDEV_PIC2_ACK 0xA0
119 #define TSDEV_DMA1_RESET 0x0D
120 #define TSDEV_DMA2_RESET 0xDA
121 #define TSDEV_DMA1_MODE 0x0B
122 #define TSDEV_DMA2_MODE 0xD6
123 #define TSDEV_DMA1_MASK 0x0A
124 #define TSDEV_DMA2_MASK 0xD4
125 #define TSDEV_CTRL_PORTB 0x61
126 #define TSDEV_TMR0_DATA 0x40
127 #define TSDEV_TMR1_DATA 0x41
128 #define TSDEV_TMR2_DATA 0x42
129 #define TSDEV_TMR_CTRL 0x43
130 #define TSDEV_KBD 0x64
131 #define TSDEV_DMA1_CMND 0x08
132 #define TSDEV_DMA1_STAT TSDEV_DMA1_CMND
133 #define TSDEV_DMA2_CMND 0xD0
134 #define TSDEV_DMA2_STAT TSDEV_DMA2_CMND
135 #define TSDEV_DMA1_MMASK 0x0F
136 #define TSDEV_DMA2_MMASK 0xDE
139 #define TSDEV_KBD 0x64
142 #define ATA_PCI_DMA 0x00
143 #define ATA_PCI_DMA2 0x02
144 #define ATA_PCI_DMA3 0x16
145 #define ATA_PCI_DMA4 0x17
146 #define ATA_PCI_DMA5 0x1a
147 #define ATA_PCI_DMA6 0x11
148 #define ATA_PCI_DMA7 0x14
150 #define TSDEV_RTC_ADDR 0x70
151 #define TSDEV_RTC_DATA 0x71
153 #define PCHIP_PCI0_MEMORY ULL(0x00000000000)
154 #define PCHIP_PCI0_IO ULL(0x001FC000000)
155 #define TSUNAMI_UNCACHABLE_BIT ULL(0x80000000000)
156 #define TSUNAMI_PCI0_MEMORY TSUNAMI_UNCACHABLE_BIT + PCHIP_PCI0_MEMORY
157 #define TSUNAMI_PCI0_IO TSUNAMI_UNCACHABLE_BIT + PCHIP_PCI0_IO
162 #define UART_IER_RDI 0x01
163 #define UART_IER_THRI 0x02
164 #define UART_IER_RLSI 0x04
167 #define UART_LSR_TEMT 0x40
168 #define UART_LSR_THRE 0x20
169 #define UART_LSR_DR 0x01
171 #define UART_MCR_LOOP 0x10
174 #define PORTB_SPKR_HIGH 0x20
176 #endif // __MALTAREG_H__
Generated on Fri Jun 9 2017 13:03:46 for gem5 by doxygen 1.8.6