miscregs_types.hh (13394:ebe487b6f18a) miscregs_types.hh (13528:f37f2da0513b)
1/*
2 * Copyright (c) 2010-2018 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

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

455
456 BitUnion64(TTBCR)
457 // Short-descriptor translation table format
458 Bitfield<2, 0> n;
459 Bitfield<4> pd0;
460 Bitfield<5> pd1;
461 // Long-descriptor translation table format
462 Bitfield<2, 0> t0sz;
1/*
2 * Copyright (c) 2010-2018 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

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

455
456 BitUnion64(TTBCR)
457 // Short-descriptor translation table format
458 Bitfield<2, 0> n;
459 Bitfield<4> pd0;
460 Bitfield<5> pd1;
461 // Long-descriptor translation table format
462 Bitfield<2, 0> t0sz;
463 Bitfield<6> t2e;
463 Bitfield<7> epd0;
464 Bitfield<9, 8> irgn0;
465 Bitfield<11, 10> orgn0;
466 Bitfield<13, 12> sh0;
467 Bitfield<14> tg0;
468 Bitfield<18, 16> t1sz;
469 Bitfield<22> a1;
470 Bitfield<23> epd1;

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

476 Bitfield<36> as;
477 Bitfield<37> tbi0;
478 Bitfield<38> tbi1;
479 // Common
480 Bitfield<31> eae;
481 // TCR_EL2/3 (AArch64)
482 Bitfield<18, 16> ps;
483 Bitfield<20> tbi;
464 Bitfield<7> epd0;
465 Bitfield<9, 8> irgn0;
466 Bitfield<11, 10> orgn0;
467 Bitfield<13, 12> sh0;
468 Bitfield<14> tg0;
469 Bitfield<18, 16> t1sz;
470 Bitfield<22> a1;
471 Bitfield<23> epd1;

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

477 Bitfield<36> as;
478 Bitfield<37> tbi0;
479 Bitfield<38> tbi1;
480 // Common
481 Bitfield<31> eae;
482 // TCR_EL2/3 (AArch64)
483 Bitfield<18, 16> ps;
484 Bitfield<20> tbi;
485 Bitfield<41> hpd0;
486 Bitfield<42> hpd1;
484 EndBitUnion(TTBCR)
485
486 // Fields of TCR_EL{1,2,3} (mostly overlapping)
487 // TCR_EL1 is natively 64 bits, the others are 32 bits
488 BitUnion64(TCR)
489 Bitfield<5, 0> t0sz;
490 Bitfield<7> epd0; // EL1
491 Bitfield<9, 8> irgn0;

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

500 Bitfield<25, 24> irgn1; // EL1
501 Bitfield<27, 26> orgn1; // EL1
502 Bitfield<29, 28> sh1; // EL1
503 Bitfield<31, 30> tg1; // EL1
504 Bitfield<34, 32> ips; // EL1
505 Bitfield<36> as; // EL1
506 Bitfield<37> tbi0; // EL1
507 Bitfield<38> tbi1; // EL1
487 EndBitUnion(TTBCR)
488
489 // Fields of TCR_EL{1,2,3} (mostly overlapping)
490 // TCR_EL1 is natively 64 bits, the others are 32 bits
491 BitUnion64(TCR)
492 Bitfield<5, 0> t0sz;
493 Bitfield<7> epd0; // EL1
494 Bitfield<9, 8> irgn0;

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

503 Bitfield<25, 24> irgn1; // EL1
504 Bitfield<27, 26> orgn1; // EL1
505 Bitfield<29, 28> sh1; // EL1
506 Bitfield<31, 30> tg1; // EL1
507 Bitfield<34, 32> ips; // EL1
508 Bitfield<36> as; // EL1
509 Bitfield<37> tbi0; // EL1
510 Bitfield<38> tbi1; // EL1
511 Bitfield<39> ha;
512 Bitfield<40> hd;
513 Bitfield<41> hpd0;
514 Bitfield<42> hpd1;
508 EndBitUnion(TCR)
509
510 BitUnion32(HTCR)
511 Bitfield<2, 0> t0sz;
512 Bitfield<9, 8> irgn0;
513 Bitfield<11, 10> orgn0;
514 Bitfield<13, 12> sh0;
515 EndBitUnion(TCR)
516
517 BitUnion32(HTCR)
518 Bitfield<2, 0> t0sz;
519 Bitfield<9, 8> irgn0;
520 Bitfield<11, 10> orgn0;
521 Bitfield<13, 12> sh0;
522 Bitfield<24> hpd;
515 EndBitUnion(HTCR)
516
517 BitUnion32(VTCR_t)
518 Bitfield<3, 0> t0sz;
519 Bitfield<4> s;
520 Bitfield<5, 0> t0sz64;
521 Bitfield<7, 6> sl0;
522 Bitfield<9, 8> irgn0;
523 Bitfield<11, 10> orgn0;
524 Bitfield<13, 12> sh0;
525 Bitfield<15, 14> tg0;
526 Bitfield<18, 16> ps; // Only defined for VTCR_EL2
523 EndBitUnion(HTCR)
524
525 BitUnion32(VTCR_t)
526 Bitfield<3, 0> t0sz;
527 Bitfield<4> s;
528 Bitfield<5, 0> t0sz64;
529 Bitfield<7, 6> sl0;
530 Bitfield<9, 8> irgn0;
531 Bitfield<11, 10> orgn0;
532 Bitfield<13, 12> sh0;
533 Bitfield<15, 14> tg0;
534 Bitfield<18, 16> ps; // Only defined for VTCR_EL2
535 Bitfield<21> ha; // Only defined for VTCR_EL2
536 Bitfield<22> hd; // Only defined for VTCR_EL2
527 EndBitUnion(VTCR_t)
528
529 BitUnion32(PRRR)
530 Bitfield<1,0> tr0;
531 Bitfield<3,2> tr1;
532 Bitfield<5,4> tr2;
533 Bitfield<7,6> tr3;
534 Bitfield<9,8> tr4;

--- 100 unchanged lines hidden ---
537 EndBitUnion(VTCR_t)
538
539 BitUnion32(PRRR)
540 Bitfield<1,0> tr0;
541 Bitfield<3,2> tr1;
542 Bitfield<5,4> tr2;
543 Bitfield<7,6> tr3;
544 Bitfield<9,8> tr4;

--- 100 unchanged lines hidden ---