Lines Matching refs:mode
194 // TODO If CPL > IOPL or in virtual mode, check the I/O permission
228 ThreadContext *tc, Mode mode) const
271 Mode mode, bool &delayedResponse, bool timing)
290 // If protected mode has been enabled...
292 DPRINTF(TLB, "In protected mode.\n");
293 // If we're not in 64-bit mode, do protection/limit checks
294 if (m5Reg.mode != LongMode) {
295 DPRINTF(TLB, "Not in long mode. Checking segment protection.\n");
304 if (!attr.writable && (mode == Write || storeCheck))
306 if (!attr.readable && mode == Read)
337 if (mode == Read) {
346 if (mode == Read) {
352 Fault fault = walker->start(tc, translation, req, mode);
354 // This gets ignored in atomic mode.
364 if (!pte && mode != Execute) {
372 return std::make_shared<PageFault>(vaddr, true, mode,
394 if ((inUser && !entry->user) || (mode == Write && badWrite)) {
398 return std::make_shared<PageFault>(vaddr, true, mode, inUser,
420 // Real mode
421 DPRINTF(TLB, "In real mode.\n");
426 return finalizePhysical(req, tc, mode);
430 TLB::translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode)
433 return TLB::translate(req, tc, NULL, mode, delayedResponse, false);
438 Translation *translation, Mode mode)
443 TLB::translate(req, tc, translation, mode, delayedResponse, true);
445 translation->finish(fault, req, tc, mode);