miscregs.cc (8058:a259ab86cabf) | miscregs.cc (8549:7cff2156c998) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 368 unchanged lines hidden (view full) --- 377 return MISCREG_PMUSERENR; 378 case 1: 379 return MISCREG_PMINTENSET; 380 case 2: 381 return MISCREG_PMINTENCLR; 382 } 383 } 384 } else if (opc1 == 1) { | 1/* 2 * Copyright (c) 2010 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 --- 368 unchanged lines hidden (view full) --- 377 return MISCREG_PMUSERENR; 378 case 1: 379 return MISCREG_PMINTENSET; 380 case 2: 381 return MISCREG_PMINTENCLR; 382 } 383 } 384 } else if (opc1 == 1) { |
385 return MISCREG_L2LATENCY; | 385 switch (crm) { 386 case 0: 387 switch (opc2) { 388 case 2: // L2CTLR, L2 Control Register 389 return MISCREG_L2CTLR; 390 default: 391 warn("Uknown miscregs: crn:%d crm:%d opc1:%d opc2:%d\n", 392 crn,crm, opc1,opc2); 393 break; 394 } 395 default: 396 return MISCREG_L2LATENCY; 397 } |
386 } 387 //Reserved for Branch Predictor, Cache and TCM operations 388 break; 389 case 10: 390 if (opc1 == 0) { 391 // crm 0, 1, 4, and 8, with op2 0 - 7, reserved for TLB lockdown 392 if (crm == 2) { // TEX Remap Registers 393 if (opc2 == 0) { --- 67 unchanged lines hidden --- | 398 } 399 //Reserved for Branch Predictor, Cache and TCM operations 400 break; 401 case 10: 402 if (opc1 == 0) { 403 // crm 0, 1, 4, and 8, with op2 0 - 7, reserved for TLB lockdown 404 if (crm == 2) { // TEX Remap Registers 405 if (opc2 == 0) { --- 67 unchanged lines hidden --- |