pagetable_walker.hh (8975:7f36d4436074) | pagetable_walker.hh (9044:904ddeecc653) |
---|---|
1/* 2 * Copyright (c) 2007 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 --- 30 unchanged lines hidden (view full) --- 39 40#ifndef __ARCH_X86_PAGE_TABLE_WALKER_HH__ 41#define __ARCH_X86_PAGE_TABLE_WALKER_HH__ 42 43#include <vector> 44 45#include "arch/x86/pagetable.hh" 46#include "arch/x86/tlb.hh" | 1/* 2 * Copyright (c) 2007 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 --- 30 unchanged lines hidden (view full) --- 39 40#ifndef __ARCH_X86_PAGE_TABLE_WALKER_HH__ 41#define __ARCH_X86_PAGE_TABLE_WALKER_HH__ 42 43#include <vector> 44 45#include "arch/x86/pagetable.hh" 46#include "arch/x86/tlb.hh" |
47#include "base/fast_alloc.hh" | |
48#include "base/types.hh" 49#include "mem/mem_object.hh" 50#include "mem/packet.hh" 51#include "params/X86PagetableWalker.hh" 52#include "sim/faults.hh" 53#include "sim/system.hh" 54 55class ThreadContext; --- 25 unchanged lines hidden (view full) --- 81 void recvRetry(); 82 bool isSnooping() const { return true; } 83 }; 84 85 friend class WalkerPort; 86 WalkerPort port; 87 88 // State to track each walk of the page table | 47#include "base/types.hh" 48#include "mem/mem_object.hh" 49#include "mem/packet.hh" 50#include "params/X86PagetableWalker.hh" 51#include "sim/faults.hh" 52#include "sim/system.hh" 53 54class ThreadContext; --- 25 unchanged lines hidden (view full) --- 80 void recvRetry(); 81 bool isSnooping() const { return true; } 82 }; 83 84 friend class WalkerPort; 85 WalkerPort port; 86 87 // State to track each walk of the page table |
89 class WalkerState : public FastAlloc | 88 class WalkerState |
90 { 91 private: 92 enum State { 93 Ready, 94 Waiting, 95 // Long mode 96 LongPML4, LongPDP, LongPD, LongPTE, 97 // PAE legacy mode --- 112 unchanged lines hidden --- | 89 { 90 private: 91 enum State { 92 Ready, 93 Waiting, 94 // Long mode 95 LongPML4, LongPDP, LongPD, LongPTE, 96 // PAE legacy mode --- 112 unchanged lines hidden --- |