tlb.cc (7438:8e4b37136330) tlb.cc (7439:b4c6b2532bbf)
1/*
2 * Copyright (c) 2010 ARM Limited
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

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

382 NMRR nmrr = tc->readMiscReg(MISCREG_NMRR);
383
384 if (nmrr.ir0 == 0 || nmrr.or0 == 0 || prrr.tr0 != 0x2)
385 req->setFlags(Request::UNCACHEABLE);
386 }
387
388 // Set memory attributes
389 TlbEntry temp_te;
1/*
2 * Copyright (c) 2010 ARM Limited
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

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

382 NMRR nmrr = tc->readMiscReg(MISCREG_NMRR);
383
384 if (nmrr.ir0 == 0 || nmrr.or0 == 0 || prrr.tr0 != 0x2)
385 req->setFlags(Request::UNCACHEABLE);
386 }
387
388 // Set memory attributes
389 TlbEntry temp_te;
390 tableWalker->memAttrs(tc, temp_te, 0, 1);
390 tableWalker->memAttrs(tc, temp_te, sctlr, 0, 1);
391 temp_te.shareable = true;
392 DPRINTF(TLBVerbose, "(No MMU) setting memory attributes: shareable:\
393 %d, innerAttrs: %d, outerAttrs: %d\n", temp_te.shareable,
394 temp_te.innerAttrs, temp_te.outerAttrs);
395 setAttr(temp_te.attributes);
396
397 return trickBoxCheck(req, mode, 0, false);
398 }

--- 170 unchanged lines hidden ---
391 temp_te.shareable = true;
392 DPRINTF(TLBVerbose, "(No MMU) setting memory attributes: shareable:\
393 %d, innerAttrs: %d, outerAttrs: %d\n", temp_te.shareable,
394 temp_te.innerAttrs, temp_te.outerAttrs);
395 setAttr(temp_te.attributes);
396
397 return trickBoxCheck(req, mode, 0, false);
398 }

--- 170 unchanged lines hidden ---