tlb.cc (14128:6ed23d07d0d1) | tlb.cc (14172:bba55ff08279) |
---|---|
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 --- 1414 unchanged lines hidden (view full) --- 1423 1424 case S1E3Tran: 1425 return EL3; 1426 1427 case NormalTran: 1428 case S1CTran: 1429 case S1S2NsTran: 1430 case HypMode: | 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 --- 1414 unchanged lines hidden (view full) --- 1423 1424 case S1E3Tran: 1425 return EL3; 1426 1427 case NormalTran: 1428 case S1CTran: 1429 case S1S2NsTran: 1430 case HypMode: |
1431 return opModeToEL((OperatingMode)(uint8_t)cpsr.mode); | 1431 return currEL(cpsr); |
1432 1433 default: 1434 panic("Unknown translation mode!\n"); 1435 } 1436} 1437 1438Fault 1439TLB::getTE(TlbEntry **te, const RequestPtr &req, ThreadContext *tc, Mode mode, --- 179 unchanged lines hidden --- | 1432 1433 default: 1434 panic("Unknown translation mode!\n"); 1435 } 1436} 1437 1438Fault 1439TLB::getTE(TlbEntry **te, const RequestPtr &req, ThreadContext *tc, Mode mode, --- 179 unchanged lines hidden --- |