tlb.cc (14172:bba55ff08279) | tlb.cc (14278:45892d0d3e98) |
---|---|
1/* 2 * Copyright (c) 2010-2013, 2016-2019 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 --- 929 unchanged lines hidden (view full) --- 938 grant = r; 939 break; 940 default: 941 grant = false; 942 } 943 } 944 break; 945 case EL2: | 1/* 2 * Copyright (c) 2010-2013, 2016-2019 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 --- 929 unchanged lines hidden (view full) --- 938 grant = r; 939 break; 940 default: 941 grant = false; 942 } 943 } 944 break; 945 case EL2: |
946 if (checkPAN(tc, ap, req, mode)) { | 946 if (hcr.e2h && checkPAN(tc, ap, req, mode)) { |
947 grant = false; 948 break; 949 } 950 M5_FALLTHROUGH; 951 case EL3: 952 { 953 uint8_t perm = (ap & 0x2) | xn; 954 switch (perm) { --- 664 unchanged lines hidden --- | 947 grant = false; 948 break; 949 } 950 M5_FALLTHROUGH; 951 case EL3: 952 { 953 uint8_t perm = (ap & 0x2) | xn; 954 switch (perm) { --- 664 unchanged lines hidden --- |