Deleted Added
sdiff udiff text old ( 9180:ee8d7a51651d ) new ( 9258:baa17ba80e06 )
full compact
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

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

49#include "sim/system.hh"
50
51using namespace ArmISA;
52
53TableWalker::TableWalker(const Params *p)
54 : MemObject(p), port(this, params()->sys), drainEvent(NULL),
55 tlb(NULL), currState(NULL), pending(false),
56 masterId(p->sys->getMasterId(name())),
57 doL1DescEvent(this), doL2DescEvent(this), doProcessEvent(this)
58{
59 sctlr = 0;
60}
61
62TableWalker::~TableWalker()
63{
64 ;

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

179}
180
181void
182TableWalker::processWalkWrapper()
183{
184 assert(!currState);
185 assert(pendingQueue.size());
186 currState = pendingQueue.front();
187 pendingQueue.pop_front();
188 pending = true;
189 processWalk();
190}
191
192Fault
193TableWalker::processWalk()
194{
195 Addr ttbr = 0;
196
197 // If translation isn't enabled, we shouldn't be here

--- 575 unchanged lines hidden ---