1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 76 unchanged lines hidden (view full) --- 85 86 class TLB : public SimObject 87 { 88 protected: 89 friend class FakeITLBFault; 90 friend class FakeDTLBFault; 91 92 bool _allowNX; |
93 uint32_t configAddress; |
94 95 public: 96 bool allowNX() const 97 { 98 return _allowNX; 99 } 100 101 typedef X86TLBParams Params; 102 TLB(const Params *p); 103 104 void dumpAll(); 105 106 TlbEntry *lookup(Addr va, bool update_lru = true); 107 |
108 void setConfigAddress(uint32_t addr); 109 |
110#if FULL_SYSTEM 111 protected: 112 113 Walker * walker; 114 115 void walk(ThreadContext * _tc, Addr vaddr); 116#endif 117 --- 64 unchanged lines hidden --- |