tlb.cc (8534:09745e0c3dd9) tlb.cc (8535:d04ae08781e2)
1/*
2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 525 unchanged lines hidden (view full) ---

534Fault
535TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation,
536 Mode mode, bool &delayedResponse, bool timing)
537{
538 uint32_t flags = req->getFlags();
539 int seg = flags & SegmentFlagMask;
540 bool storeCheck = flags & (StoreCheck << FlagShift);
541
1/*
2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 525 unchanged lines hidden (view full) ---

534Fault
535TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation,
536 Mode mode, bool &delayedResponse, bool timing)
537{
538 uint32_t flags = req->getFlags();
539 int seg = flags & SegmentFlagMask;
540 bool storeCheck = flags & (StoreCheck << FlagShift);
541
542 delayedResponse = false;
543
542 // If this is true, we're dealing with a request to a non-memory address
543 // space.
544 if (seg == SEGMENT_REG_MS) {
545 return translateInt(req, tc);
546 }
547
544 // If this is true, we're dealing with a request to a non-memory address
545 // space.
546 if (seg == SEGMENT_REG_MS) {
547 return translateInt(req, tc);
548 }
549
548 delayedResponse = false;
549 Addr vaddr = req->getVaddr();
550 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
551
552 HandyM5Reg m5Reg = tc->readMiscRegNoEffect(MISCREG_M5_REG);
553
554 // If protected mode has been enabled...
555 if (m5Reg.prot) {
556 DPRINTF(TLB, "In protected mode.\n");

--- 212 unchanged lines hidden ---
550 Addr vaddr = req->getVaddr();
551 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
552
553 HandyM5Reg m5Reg = tc->readMiscRegNoEffect(MISCREG_M5_REG);
554
555 // If protected mode has been enabled...
556 if (m5Reg.prot) {
557 DPRINTF(TLB, "In protected mode.\n");

--- 212 unchanged lines hidden ---