Lines Matching refs:mode

137                       ThreadContext *tc, Mode mode) const
264 // if we're currently in hyp mode
565 TLB::translateSe(const RequestPtr &req, ThreadContext *tc, Mode mode,
577 bool is_fetch = (mode == Execute);
578 bool is_write = (mode == Write);
584 // LPAE is always disabled in SE mode
601 return finalizePhysical(req, tc, mode);
605 TLB::checkPermissions(TlbEntry *te, const RequestPtr &req, Mode mode)
615 bool is_fetch = (mode == Execute);
616 bool is_write = (mode == Write);
783 TLB::checkPermissions64(TlbEntry *te, const RequestPtr &req, Mode mode,
801 bool is_fetch = (mode == Execute);
803 bool is_write = !req->isCacheClean() && mode == Write;
917 if (checkPAN(tc, ap, req, mode)) {
957 if (hcr.e2h && checkPAN(tc, ap, req, mode)) {
1016 TLB::checkPAN(ThreadContext *tc, uint8_t ap, const RequestPtr &req, Mode mode)
1026 if (mmfr1.pan && cpsr.pan && (ap & 0x1) && mode != Execute &&
1036 TLB::translateFs(const RequestPtr &req, ThreadContext *tc, Mode mode,
1053 bool is_fetch = (mode == Execute);
1054 bool is_write = (mode == Write);
1064 DPRINTF(TLB, "translateFs addr %#x, mode %d, st2 %d, scr %#x sctlr %#x "
1065 "flags %#lx tranType 0x%x\n", vaddr_tainted, mode, isStage2,
1133 return testTranslation(req, mode, TlbEntry::DomainType::NoAccess);
1142 Fault fault = getResultTe(&te, req, tc, mode, translation, timing,
1187 fault = testTranslation(req, mode, te->domain);
1193 return te ? finalizePhysical(req, tc, mode) : NoFault;
1200 TLB::translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode,
1207 return stage2Tlb->translateAtomic(req, tc, mode, tranType);
1213 fault = translateFs(req, tc, mode, NULL, delay, false, tranType);
1215 fault = translateSe(req, tc, mode, NULL, delay, false);
1221 TLB::translateFunctional(const RequestPtr &req, ThreadContext *tc, Mode mode,
1228 return stage2Tlb->translateFunctional(req, tc, mode, tranType);
1234 fault = translateFs(req, tc, mode, NULL, delay, false, tranType, true);
1236 fault = translateSe(req, tc, mode, NULL, delay, false);
1243 Translation *translation, Mode mode, TLB::ArmTranslationType tranType)
1249 stage2Tlb->translateTiming(req, tc, translation, mode, tranType);
1255 translateComplete(req, tc, translation, mode, tranType, isStage2);
1260 Translation *translation, Mode mode, TLB::ArmTranslationType tranType,
1266 fault = translateFs(req, tc, mode, translation, delay, true, tranType);
1268 fault = translateSe(req, tc, mode, translation, delay, true);
1279 translation->finish(fault, req, tc, mode);
1295 // check if the regs have changed, or the translation mode is different.
1373 isPriv = cpsr.mode != MODE_USER;
1395 isHyp = cpsr.mode == MODE_HYP;
1447 panic("Unknown translation mode!\n");
1452 TLB::getTE(TlbEntry **te, const RequestPtr &req, ThreadContext *tc, Mode mode,
1461 bool is_fetch = (mode == Execute);
1462 bool is_write = (mode == Write);
1495 fault = tableWalker->walk(req, tc, asid, vmid, isHyp, mode,
1498 // for timing mode, return and wait for table walk,
1520 ThreadContext *tc, Mode mode,
1531 fault = getTE(&s2Te, req, tc, mode, translation, timing, functional,
1536 fault = checkPermissions64(s2Te, req, mode, tc);
1538 fault = checkPermissions(s2Te, req, mode);
1549 fault = getTE(&s1Te, req, tc, mode, translation, timing, functional,
1555 fault = checkPermissions64(s1Te, req, mode, tc);
1557 fault = checkPermissions(s1Te, req, mode);
1560 req, translation, mode, timing, functional, curTranType);
1603 TLB::testTranslation(const RequestPtr &req, Mode mode,
1610 return test->translationCheck(req, isPriv, mode, domain);
1615 TLB::testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode,
1621 return test->walkCheck(pa, size, va, is_secure, isPriv, mode,