miscregs.hh (8552:f51e3dce9521) | miscregs.hh (8868:26dbd171754e) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010 ARM Limited | 2 * Copyright (c) 2010-2012 ARM Limited |
3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 70 unchanged lines hidden (view full) --- 81 MISCREG_FPSCR_QC, // Cumulative saturation flag 82 MISCREG_FPSCR_EXC, // Cumulative FP exception flags 83 MISCREG_FPEXC, 84 MISCREG_MVFR0, 85 MISCREG_MVFR1, 86 MISCREG_SCTLR_RST, 87 MISCREG_SEV_MAILBOX, 88 | 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 70 unchanged lines hidden (view full) --- 81 MISCREG_FPSCR_QC, // Cumulative saturation flag 82 MISCREG_FPSCR_EXC, // Cumulative FP exception flags 83 MISCREG_FPEXC, 84 MISCREG_MVFR0, 85 MISCREG_MVFR1, 86 MISCREG_SCTLR_RST, 87 MISCREG_SEV_MAILBOX, 88 |
89 // CP14 registers 90 MISCREG_CP14_START, 91 MISCREG_DBGDIDR = MISCREG_CP14_START, 92 MISCREG_DBGDSCR_INT, 93 MISCREG_DBGDTRRX_INT, 94 MISCREG_DBGTRTX_INT, 95 MISCREG_DBGWFAR, 96 MISCREG_DBGVCR, 97 MISCREG_DBGECR, 98 MISCREG_DBGDSCCR, 99 MISCREG_DBGSMCR, 100 MISCREG_DBGDTRRX_EXT, 101 MISCREG_DBGDSCR_EXT, 102 MISCREG_DBGDTRTX_EXT, 103 MISCREG_DBGDRCR, 104 MISCREG_DBGBVR, 105 MISCREG_DBGBCR, 106 MISCREG_DBGBVR_M, 107 MISCREG_DBGBCR_M, 108 MISCREG_DBGDRAR, 109 MISCREG_DBGBXVR_M, 110 MISCREG_DBGOSLAR, 111 MISCREG_DBGOSSRR, 112 MISCREG_DBGOSDLR, 113 MISCREG_DBGPRCR, 114 MISCREG_DBGPRSR, 115 MISCREG_DBGDSAR, 116 MISCREG_DBGITCTRL, 117 MISCREG_DBGCLAIMSET, 118 MISCREG_DBGCLAIMCLR, 119 MISCREG_DBGAUTHSTATUS, 120 MISCREG_DBGDEVID2, 121 MISCREG_DBGDEVID1, 122 MISCREG_DBGDEVID, 123 |
|
89 // CP15 registers 90 MISCREG_CP15_START, 91 MISCREG_SCTLR = MISCREG_CP15_START, 92 MISCREG_DCCISW, 93 MISCREG_DCCIMVAC, 94 MISCREG_DCCMVAC, 95 MISCREG_CONTEXTIDR, 96 MISCREG_TPIDRURW, --- 106 unchanged lines hidden (view full) --- 203 204 // Dummy indices 205 MISCREG_NOP = MISCREG_CP15_END, 206 MISCREG_RAZ, 207 208 NUM_MISCREGS 209 }; 210 | 124 // CP15 registers 125 MISCREG_CP15_START, 126 MISCREG_SCTLR = MISCREG_CP15_START, 127 MISCREG_DCCISW, 128 MISCREG_DCCIMVAC, 129 MISCREG_DCCMVAC, 130 MISCREG_CONTEXTIDR, 131 MISCREG_TPIDRURW, --- 106 unchanged lines hidden (view full) --- 238 239 // Dummy indices 240 MISCREG_NOP = MISCREG_CP15_END, 241 MISCREG_RAZ, 242 243 NUM_MISCREGS 244 }; 245 |
246 MiscRegIndex decodeCP14Reg(unsigned crn, unsigned opc1, 247 unsigned crm, unsigned opc2); 248 |
|
211 MiscRegIndex decodeCP15Reg(unsigned crn, unsigned opc1, 212 unsigned crm, unsigned opc2); 213 | 249 MiscRegIndex decodeCP15Reg(unsigned crn, unsigned opc1, 250 unsigned crm, unsigned opc2); 251 |
252 |
|
214 const char * const miscRegName[NUM_MISCREGS] = { 215 "cpsr", "cpsr_q", "spsr", "spsr_fiq", "spsr_irq", "spsr_svc", 216 "spsr_mon", "spsr_und", "spsr_abt", 217 "fpsr", "fpsid", "fpscr", "fpscr_qc", "fpscr_exc", "fpexc", 218 "mvfr0", "mvfr1", 219 "sctlr_rst", "sev_mailbox", | 253 const char * const miscRegName[NUM_MISCREGS] = { 254 "cpsr", "cpsr_q", "spsr", "spsr_fiq", "spsr_irq", "spsr_svc", 255 "spsr_mon", "spsr_und", "spsr_abt", 256 "fpsr", "fpsid", "fpscr", "fpscr_qc", "fpscr_exc", "fpexc", 257 "mvfr0", "mvfr1", 258 "sctlr_rst", "sev_mailbox", |
259 "DBGDIDR", 260 "DBGDSCR_INT", 261 "DBGDTRRX_INT", 262 "DBGTRTX_INT", 263 "DBGWFAR", 264 "DBGVCR", 265 "DBGECR", 266 "DBGDSCCR", 267 "DBGSMCR", 268 "DBGDTRRX_EXT", 269 "DBGDSCR_EXT", 270 "DBGDTRTX_EXT", 271 "DBGDRCR", 272 "DBGBVR", 273 "DBGBCR", 274 "DBGBVR_M", 275 "DBGBCR_M", 276 "DBGDRAR", 277 "DBGBXVR_M", 278 "DBGOSLAR", 279 "DBGOSSRR", 280 "DBGOSDLR", 281 "DBGPRCR", 282 "DBGPRSR", 283 "DBGDSAR", 284 "DBGITCTRL", 285 "DBGCLAIMSET", 286 "DBGCLAIMCLR", 287 "DBGAUTHSTATUS", 288 "DBGDEVID2", 289 "DBGDEVID1", 290 "DBGDEVID", |
|
220 "sctlr", "dccisw", "dccimvac", "dccmvac", 221 "contextidr", "tpidrurw", "tpidruro", "tpidrprw", 222 "cp15isb", "cp15dsb", "cp15dmb", "cpacr", 223 "clidr", "ccsidr", "csselr", 224 "icialluis", "iciallu", "icimvau", 225 "bpimva", "bpiallis", "bpiall", 226 "midr", "ttbr0", "ttbr1", "tlbtr", "dacr", 227 "tlbiallis", "tlbimvais", "tlbiasidis", "tlbimvaais", --- 236 unchanged lines hidden --- | 291 "sctlr", "dccisw", "dccimvac", "dccmvac", 292 "contextidr", "tpidrurw", "tpidruro", "tpidrprw", 293 "cp15isb", "cp15dsb", "cp15dmb", "cpacr", 294 "clidr", "ccsidr", "csselr", 295 "icialluis", "iciallu", "icimvau", 296 "bpimva", "bpiallis", "bpiall", 297 "midr", "ttbr0", "ttbr1", "tlbtr", "dacr", 298 "tlbiallis", "tlbimvais", "tlbiasidis", "tlbimvaais", --- 236 unchanged lines hidden --- |