table_walker.hh (7439:b4c6b2532bbf) | table_walker.hh (7578:7ea651f34ae6) |
---|---|
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 --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Ali Saidi 38 */ 39 40#ifndef __ARCH_ARM_TABLE_WALKER_HH__ 41#define __ARCH_ARM_TABLE_WALKER_HH__ 42 | 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 --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Ali Saidi 38 */ 39 40#ifndef __ARCH_ARM_TABLE_WALKER_HH__ 41#define __ARCH_ARM_TABLE_WALKER_HH__ 42 |
43#include <list> 44 |
|
43#include "arch/arm/miscregs.hh" 44#include "arch/arm/tlb.hh" 45#include "mem/mem_object.hh" 46#include "mem/request.hh" 47#include "mem/request.hh" 48#include "params/ArmTableWalker.hh" 49#include "sim/faults.hh" 50#include "sim/eventq.hh" | 45#include "arch/arm/miscregs.hh" 46#include "arch/arm/tlb.hh" 47#include "mem/mem_object.hh" 48#include "mem/request.hh" 49#include "mem/request.hh" 50#include "params/ArmTableWalker.hh" 51#include "sim/faults.hh" 52#include "sim/eventq.hh" |
51#include "base/fifo_buffer.hh" | |
52 53class DmaPort; 54class ThreadContext; 55 56namespace ArmISA { 57class Translation; 58class TLB; 59 --- 236 unchanged lines hidden (view full) --- 296 297 void doL1Descriptor(); 298 void doL2Descriptor(); 299 300 std::string name() const {return tableWalker->name();} 301 }; 302 303 | 53 54class DmaPort; 55class ThreadContext; 56 57namespace ArmISA { 58class Translation; 59class TLB; 60 --- 236 unchanged lines hidden (view full) --- 297 298 void doL1Descriptor(); 299 void doL2Descriptor(); 300 301 std::string name() const {return tableWalker->name();} 302 }; 303 304 |
304 FifoBuffer<WalkerState> stateQueue; | 305 std::list<WalkerState *> stateQueue; |
305 306 /** Port to issue translation requests from */ 307 DmaPort *port; 308 309 /** TLB that is initiating these table walks */ 310 TLB *tlb; 311 312 /** Cached copy of the sctlr as it existed when translation began */ --- 43 unchanged lines hidden --- | 306 307 /** Port to issue translation requests from */ 308 DmaPort *port; 309 310 /** TLB that is initiating these table walks */ 311 TLB *tlb; 312 313 /** Cached copy of the sctlr as it existed when translation began */ --- 43 unchanged lines hidden --- |