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