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/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 |
88 class WalkerState |
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 --- |