/gem5/src/arch/arm/ |
H A D | stage2_mmu.cc | 67 Fault fault; local 73 fault = stage2Tlb()->translateFunctional(req, tc, BaseTLB::Read); 75 fault = stage2Tlb()->translateAtomic(req, tc, BaseTLB::Read); 79 if (fault == NoFault && !req->getFlags().isSet(Request::NO_ACCESS)) { 90 // If there was a fault annotate it with the flag saying the foult occured 92 if (fault != NoFault) { 93 ArmFault *armFault = reinterpret_cast<ArmFault *>(fault.get()); 97 return fault; 114 fault(NoFault) 124 fault [all...] |
H A D | stage2_lookup.cc | 60 fault = stage2Tlb->getTE(&stage2Te, req, tc, mode, this, timing, 63 if ((fault != NoFault) || (stage2Te != NULL)) { 68 if (fault == NoFault) { 70 fault = stage2Tlb->checkPermissions64(stage2Te, req, mode, tc); 72 fault = stage2Tlb->checkPermissions(stage2Te, req, mode); 78 return fault; 84 // Check again that we haven't got a fault 85 if (fault == NoFault) { 168 // if there's a fault annotate it, 169 if (fault ! [all...] |
H A D | vtophys.cc | 70 Fault fault; local 84 fault = tlb->translateFunctional(req, tc, BaseTLB::Read, TLB::NormalTran); 85 if (fault == NoFault) 89 fault = tlb->translateFunctional(req, tc, BaseTLB::Read, TLB::NormalTran); 90 if (fault == NoFault)
|
H A D | stage2_lookup.hh | 72 Fault fault; member in class:ArmISA::Stage2LookUp 83 fault(NoFault), complete(false), selfDelete(false) 100 void finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc,
|
H A D | stage2_mmu.hh | 81 Fault fault; member in class:ArmISA::Stage2MMU::Stage2Translation 90 finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc,
|
/gem5/src/arch/sparc/linux/ |
H A D | process.cc | 104 Fault *fault) 108 tc->syscall(tc->readIntReg(1), fault); 111 SparcProcess::handleTrap(trapNum, tc, fault); 121 Fault *fault) 126 tc->syscall(tc->readIntReg(1), fault); 129 SparcProcess::handleTrap(trapNum, tc, fault); 103 handleTrap(int trapNum, ThreadContext *tc, Fault *fault) argument 120 handleTrap(int trapNum, ThreadContext *tc, Fault *fault) argument
|
H A D | process.hh | 73 void handleTrap(int trapNum, ThreadContext *tc, Fault *fault); 89 void handleTrap(int trapNum, ThreadContext *tc, Fault *fault);
|
/gem5/src/arch/x86/ |
H A D | memhelpers.hh | 111 Fault fault = xc->readMem(addr, (uint8_t *)&mem, dataSize, flags); local 112 if (fault == NoFault) { 120 return fault; 129 Fault fault = xc->readMem(addr, (uint8_t *)&real_mem, local 131 if (fault == NoFault) { 136 return fault; 145 Fault fault = NoFault; local 149 fault = readPackedMemAtomic<uint32_t, N>(xc, addr, mem, flags); 152 fault = readPackedMemAtomic<uint64_t, N>(xc, addr, mem, flags); 157 if (fault 213 Fault fault = local 229 Fault fault; local [all...] |
H A D | vtophys.cc | 66 Fault fault = walker->startFunctional( local 68 if (fault != NoFault) 69 panic("vtophys page walk returned fault\n");
|
H A D | pseudo_inst.cc | 52 Fault fault; local 53 tc->syscall(tc->readIntReg(INTREG_RAX), &fault); 78 panic("Page fault at addr %#x\n\tInterrupt handler stack:\n"
|
H A D | pagetable_walker.cc | 85 Fault fault = newState->startWalk(); local 90 return fault; 230 Fault fault = NoFault; local 243 fault = stepWalk(write); 244 assert(fault == NoFault || read == NULL); 253 return fault; 259 Fault fault = NoFault; local 269 fault = stepWalk(write); 270 assert(fault == NoFault || read == NULL); 277 return fault; 284 Fault fault = NoFault; local 644 Fault fault = walker->tlb->translate(req, tc, NULL, mode, local [all...] |
/gem5/src/arch/generic/ |
H A D | tlb.cc | 47 Fault fault = p->pTable->translate(req); local 48 if (fault != NoFault) 49 return fault;
|
H A D | memhelpers.hh | 81 Fault fault = xc->readMem(addr, (uint8_t *)&mem, sizeof(MemT), flags); local 82 if (fault == NoFault) { 87 return fault; 113 Fault fault = local 115 if (fault == NoFault && res != NULL) { 121 return fault; 136 Fault fault = xc->amoMem(addr, (uint8_t *)&mem, sizeof(MemT), flags, local 139 if (fault == NoFault) { 144 return fault;
|
/gem5/src/cpu/o3/ |
H A D | dyn_inst_impl.hh | 138 this->fault = this->staticInst->execute(this, this->traceData); 142 return this->fault; 156 this->fault = this->staticInst->initiateAcc(this, this->traceData); 160 return this->fault; 180 this->fault = this->staticInst->completeAcc(pkt, this, this->traceData); 184 return this->fault; 189 BaseO3DynInst<Impl>::trap(const Fault &fault) argument 191 this->cpu->trap(fault, this->threadNumber, this->staticInst); 196 BaseO3DynInst<Impl>::syscall(int64_t callnum, Fault *fault) argument 205 this->cpu->syscall(callnum, this->threadNumber, fault); [all...] |
H A D | thread_state.hh | 80 * are some cases like in a fault/trap handler where this behavior would 143 void syscall(int64_t callnum, Fault *fault) argument 145 process->syscall(callnum, tc, fault);
|
/gem5/src/cpu/checker/ |
H A D | cpu.cc | 181 Fault fault = NoFault; local 201 fault = dtb->translateFunctional(mem_req, tc, BaseTLB::Read); 204 if (predicate && !checked_flags && fault == NoFault && unverifiedReq) { 212 if (predicate && fault == NoFault && 229 if (fault != NoFault) { 231 fault = NoFault; 255 return fault; 265 Fault fault = NoFault; local 285 fault = dtb->translateFunctional(mem_req, tc, BaseTLB::Write); 288 if (predicate && !checked_flags && fault [all...] |
H A D | cpu_impl.hh | 72 Checker<Impl>::advancePC(const Fault &fault) argument 74 if (fault != NoFault) { 76 fault->invoke(tc, curStaticInst); 206 Fault fault = NoFault; local 256 fault = itb->translateFunctional( 259 if (fault != NoFault) { 262 // instruction carrying an ITB fault. In the single 273 // Give up on an ITB fault.. 277 // The instruction is carrying an ITB fault. Handle 278 // the fault an [all...] |
/gem5/src/sim/ |
H A D | syscall_desc.cc | 49 SyscallDesc::doSyscall(int callnum, ThreadContext *tc, Fault *fault) argument 80 *fault = std::make_shared<SyscallRetryFault>();
|
H A D | syscall_desc.hh | 101 void doSyscall(int callnum, ThreadContext *tc, Fault *fault);
|
/gem5/src/cpu/simple/ |
H A D | atomic.cc | 393 Fault fault = NoFault; 401 fault = thread->dtb->translateAtomic(req, thread->getTC(), 406 if (predicate && fault == NoFault && 425 //If there's a fault, return it 426 if (fault != NoFault) { 430 return fault; 436 if (req->isLockedRMW() && fault == NoFault) { 440 return fault; 484 Fault fault = NoFault; 492 fault [all...] |
/gem5/src/cpu/ |
H A D | translation.hh | 114 finish(const Fault &fault, int index) argument 117 faults[index] = fault; 132 * Determine whether this translation produced a fault. Both parts of the 252 finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, argument 257 if (state->finish(fault, index)) {
|
/gem5/src/cpu/minor/ |
H A D | execute.cc | 216 Execute::tryToBranch(MinorDynInstPtr inst, Fault fault, BranchData &branch) argument 236 fault != NoFault || 242 if (fault == NoFault) 322 LSQ::LSQRequestPtr response, BranchData &branch, Fault &fault) 342 DPRINTF(MinorMem, "Completing fault from DTLB access: %s\n", 346 DPRINTF(MinorMem, "Not taking fault on prefetch: %s\n", 349 /* Don't assign to fault */ 351 /* Take the fault raised during the TLB/memory access */ 352 fault = inst->translationFault; 354 fault 321 handleMemResponse(MinorDynInstPtr inst, LSQ::LSQRequestPtr response, BranchData &branch, Fault &fault) argument 448 executeMemRefInst(MinorDynInstPtr inst, BranchData &branch, bool &passed_predicate, Fault &fault) argument 573 Fault fault = inst->fault; local 890 commitInst(MinorDynInstPtr inst, bool early_memory_issue, BranchData &branch, Fault &fault, bool &committed, bool &completed_mem_issue) argument 1026 Fault fault = NoFault; local [all...] |
H A D | pipe_data.hh | 192 /** This line has a fault. The bubble flag will be false and seqNums 194 Fault fault; member in class:Minor::ForwardLineData 211 fault(NoFault), 221 /** This is a fault, not a line */ 222 bool isFault() const { return fault != NoFault; } 224 /** Set fault and possible clear the bubble flag */
|
H A D | dyn_inst.hh | 175 /** This is actually a fault masquerading as an instruction */ 176 Fault fault; member in class:Minor::MinorDynInst 197 /** Translation fault in case of a mem ref */ 237 pc(TheISA::PCState(0)), fault(fault_), 252 /** Is this a fault rather than instruction */ 253 bool isFault() const { return fault != NoFault; } 265 /** Assuming this is not a fault, is this instruction either
|
H A D | execute.hh | 219 void tryToBranch(MinorDynInstPtr inst, Fault fault, BranchData &branch); 229 * Fault is an output and will contain any fault caused (and already 234 Fault &fault); 245 * fault is set if any non-NoFault fault is raised. 248 bool &failed_predicate, Fault &fault); 288 * fault is set if a fault happened, 295 BranchData &branch, Fault &fault, bool &committed,
|