Searched refs:fault (Results 26 - 50 of 90) sorted by relevance

1234

/gem5/src/arch/mips/
H A Dtlb.cc292 Fault fault = p->pTable->translate(req);
293 if (fault != NoFault)
294 return fault;
307 Fault fault = p->pTable->translate(req);
308 if (fault != NoFault)
309 return fault;
H A Dmt.hh171 forkThread(TC *tc, Fault &fault, int Rd_bits, int Rs, int Rt) argument
232 fault = std::make_shared<ThreadFault>();
239 yieldThread(TC *tc, Fault &fault, int src_reg, uint32_t yield_mask) argument
282 fault = std::make_shared<ThreadFault>();
292 fault = std::make_shared<ThreadFault>();
/gem5/src/arch/power/
H A Dtlb.cc293 Fault fault = p->pTable->translate(req);
294 if (fault != NoFault)
295 return fault;
305 Fault fault = p->pTable->translate(req);
306 if (fault != NoFault)
307 return fault;
/gem5/src/cpu/o3/
H A Dfetch.hh130 finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, argument
134 fetch->finishTranslation(fault, req);
141 * a fault and the nop to carry the fault cannot be generated
147 Fault fault; member in class:DefaultFetch::FinishTranslationEvent
157 fault = _fault;
169 fetch->finishTranslation(fault, req);
310 * fault that happened. Puts the data into the class variable
313 * @param ret_fault The fault reference that will be set to the result of
317 * @return Any fault tha
[all...]
H A Dlsq_impl.hh343 // fault set by checkSnoop is not lost. Calling writeback (more
345 // fault, and in case this instruction requires squashing (as
346 // determined by checkSnoop), the ReExec fault set by checkSnoop would
729 // There might be fault from a previous execution attempt if this is
746 Fault fault; local
748 fault = cpu->read(req, inst->lqIdx);
750 fault = cpu->write(req, data, inst->sqIdx);
751 // inst->getFault() may have the first-fault of a
753 // Overwrite that only if we got another type of fault
755 if (fault !
773 finish(const Fault &fault, const RequestPtr &req, ThreadContext* tc, BaseTLB::Mode mode) argument
806 finish(const Fault &fault, const RequestPtr &req, ThreadContext* tc, BaseTLB::Mode mode) argument
[all...]
/gem5/src/arch/arm/
H A Dtlb.cc608 // not generate a Data Abort exeception due to a Permission fault
625 // allows us to generate a fault if the request targets an area marked
635 // Generate an alignment fault for unaligned data accesses to device or
652 // Here we can safely use the fault status for the short
789 // not generate a Permission fault unless:
811 // allows us to generate a fault if the request targets an area marked
821 // Generate an alignment fault for unaligned accesses to device or
840 // Here we can safely use the fault status for the short
861 // generated the fault; they count as writes otherwise
1142 Fault fault local
1211 Fault fault; local
1232 Fault fault; local
1264 Fault fault; local
1494 Fault fault; local
1524 Fault fault; local
[all...]
H A Dtable_walker.cc222 // this fault to re-execute the faulting instruction which should clean
247 currState->fault = NoFault;
327 Fault fault = NoFault; local
329 fault = processWalkAArch64();
331 fault = processWalkLPAE();
333 fault = processWalk();
341 return fault;
522 DPRINTF(TLB, "Trickbox check caused fault on %#x\n", currState->vaddr_tainted);
548 f = currState->fault;
652 // Out of boundaries -> translation fault
757 bool fault = false; local
1989 Fault fault; local
[all...]
/gem5/src/cpu/simple/
H A Dtiming.cc362 TimingSimpleCPU::translationFault(const Fault &fault)
364 // fault may be NoFault in cases where a fault is suppressed,
370 // Since there was a fault, we shouldn't trace this instruction.
377 advanceInst(fault);
426 Fault fault;
572 Fault fault;
697 TimingSimpleCPU::sendFetch(const Fault &fault, const RequestPtr &req,
700 if (fault == NoFault) {
718 // fetch fault
[all...]
H A Dtiming.hh127 finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, argument
130 cpu->sendFetch(fault, req, tc);
142 void translationFault(const Fault &fault);
299 void sendFetch(const Fault &fault,
303 void advanceInst(const Fault &fault);
H A Dbase.hh135 void advancePC(const Fault &fault);
/gem5/src/arch/riscv/
H A Dtlb.cc313 Fault fault = p->pTable->translate(req);
314 if (fault != NoFault)
315 return fault;
348 // address is invalid. In that case, return a fault rather than trying
359 Fault fault = p->pTable->translate(req);
360 if (fault != NoFault)
361 return fault;
H A Dfaults.cc63 // Set fault handler privilege mode
84 // Set fault registers and status
121 // Set fault cause, privilege, and return PC
129 // Set PC to fault handler address
193 Fault *fault = NoFault; local
194 tc->syscall(tc->readIntReg(SyscallNumReg), fault);
/gem5/src/dev/arm/
H A Dsmmu_v3_transl.cc183 if (tr.fault == FAULT_NONE)
212 if (tr.fault == FAULT_NONE) {
221 if (tr.fault == FAULT_NONE)
228 if (tr.fault != FAULT_NONE)
229 panic("fault\n");
239 tr.fault = FAULT_NONE;
293 if (tr.fault == FAULT_NONE)
332 tr.fault = FAULT_NONE;
366 tr.fault = FAULT_NONE;
398 tr.fault
[all...]
/gem5/src/arch/generic/
H A Dtlb.hh78 virtual void finish(const Fault &fault, const RequestPtr &req,
115 * @return A fault on failure, NoFault otherwise.
/gem5/src/cpu/minor/
H A Dfetch1.cc243 fault = fault_;
257 if (response->fault != NoFault) {
260 response->fault->name(),
297 if (request->isDiscardable() || request->fault != NoFault) {
404 MINORLINE(this, "id=F;%s vaddr=0x%x fault=\"error packet\"\n",
406 } else if (response->fault != NoFault) {
407 MINORLINE(this, "id=F;%s vaddr=0x%x fault=\"%s\"\n",
408 response->id, request->getVaddr(), response->fault->name());
547 line.setFault(response->fault);
556 if (response->fault !
[all...]
H A Dpipe_data.cc167 fault = fault_;
220 else if (fault != NoFault)
H A Dfetch1.hh118 Complete /* Complete. Either a fault, or a fetched line */
138 /** Fill in a fault if one happens during fetch, check this by
140 Fault fault; member in class:Minor::Fetch1::FetchRequest
153 /** Is this a complete read line or fault */
178 fault(NoFault)
H A Ddyn_inst.cc124 os << "fault: \"" << inst.fault->name() << '"';
126 os << "translation fault: \"" << inst.translationFault->name() << '"';
186 MINORINST(&named_object, "id=F;%s addr=0x%x fault=\"%s\"\n",
187 id, pc.instAddr(), fault->name());
/gem5/src/cpu/
H A Dbase_dyn_inst_impl.hh117 // Initialize the fault to be NoFault.
118 fault = NoFault;
153 fault = NoFault;
/gem5/src/arch/x86/
H A Dremote_gdb.cc78 Fault fault = walker->startFunctional(context(), va, logBytes, local
80 if (fault != NoFault)
87 fault = walker->startFunctional(context(), endVa, logBytes,
89 return fault == NoFault;
H A Dtlb.cc352 Fault fault = walker->start(tc, translation, req, mode); local
353 if (timing || fault != NoFault) {
356 return fault;
402 // This would fault if this were a write, so return a page
403 // fault that reflects that happening.
442 Fault fault = local
445 translation->finish(fault, req, tc, mode);
H A Dprocess.hh181 Fault *fault) override;
/gem5/src/arch/arm/insts/
H A Dmisc64.cc380 Fault fault = trap(tc, miscReg, el, imm); local
382 if (fault != NoFault) {
383 return fault;
/gem5/src/arch/sparc/
H A Dprocess.hh65 virtual void handleTrap(int trapNum, ThreadContext *tc, Fault *fault);
/gem5/src/mem/cache/prefetch/
H A Dqueued.hh124 void finish(const Fault &fault, const RequestPtr &req,

Completed in 50 milliseconds

1234