Searched refs:fault (Results 1 - 25 of 90) sorted by relevance

1234

/gem5/src/arch/arm/
H A Dstage2_mmu.cc67 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 Dstage2_lookup.cc60 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 Dvtophys.cc70 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 Dstage2_lookup.hh72 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 Dstage2_mmu.hh81 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 Dprocess.cc104 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 Dprocess.hh73 void handleTrap(int trapNum, ThreadContext *tc, Fault *fault);
89 void handleTrap(int trapNum, ThreadContext *tc, Fault *fault);
/gem5/src/arch/x86/
H A Dmemhelpers.hh111 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 Dvtophys.cc66 Fault fault = walker->startFunctional( local
68 if (fault != NoFault)
69 panic("vtophys page walk returned fault\n");
H A Dpseudo_inst.cc52 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 Dpagetable_walker.cc85 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 Dtlb.cc47 Fault fault = p->pTable->translate(req); local
48 if (fault != NoFault)
49 return fault;
H A Dmemhelpers.hh81 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 Ddyn_inst_impl.hh138 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 Dthread_state.hh80 * 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 Dcpu.cc181 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 Dcpu_impl.hh72 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 Dsyscall_desc.cc49 SyscallDesc::doSyscall(int callnum, ThreadContext *tc, Fault *fault) argument
80 *fault = std::make_shared<SyscallRetryFault>();
H A Dsyscall_desc.hh101 void doSyscall(int callnum, ThreadContext *tc, Fault *fault);
/gem5/src/cpu/simple/
H A Datomic.cc393 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 Dtranslation.hh114 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 Dexecute.cc216 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 Dpipe_data.hh192 /** 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 Ddyn_inst.hh175 /** 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 Dexecute.hh219 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,

Completed in 20 milliseconds

1234