Deleted Added
sdiff udiff text old ( 8902:75b524b64c28 ) new ( 8988:528f0fa80f76 )
full compact
1/*
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

--- 378 unchanged lines hidden (view full) ---

387 return MISCREG_PMSWINC;
388 case 5:
389 return MISCREG_PMSELR;
390 case 6:
391 return MISCREG_PMCEID0;
392 case 7:
393 return MISCREG_PMCEID1;
394 }
395 break;
396 case 13:
397 switch (opc2) {
398 case 0:
399 return MISCREG_PMCCNTR;
400 case 1:
401 return MISCREG_PMC_OTHER;
402 case 2:
403 return MISCREG_PMXEVCNTR;
404 }
405 break;
406 case 14:
407 switch (opc2) {
408 case 0:
409 return MISCREG_PMUSERENR;
410 case 1:
411 return MISCREG_PMINTENSET;
412 case 2:
413 return MISCREG_PMINTENCLR;
414 }
415 break;
416 }
417 } else if (opc1 == 1) {
418 switch (crm) {
419 case 0:
420 switch (opc2) {
421 case 2: // L2CTLR, L2 Control Register
422 return MISCREG_L2CTLR;
423 default:
424 warn("Uknown miscregs: crn:%d crm:%d opc1:%d opc2:%d\n",
425 crn,crm, opc1,opc2);
426 break;
427 }
428 break;
429 default:
430 return MISCREG_L2LATENCY;
431 }
432 }
433 //Reserved for Branch Predictor, Cache and TCM operations
434 break;
435 case 10:
436 if (opc1 == 0) {

--- 70 unchanged lines hidden ---