tlb.hh (9294:8fb03b13de02) tlb.hh (9423:43caa4ca5979)
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

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

70
71 uint32_t configAddress;
72
73 public:
74
75 typedef X86TLBParams Params;
76 TLB(const Params *p);
77
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

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

70
71 uint32_t configAddress;
72
73 public:
74
75 typedef X86TLBParams Params;
76 TLB(const Params *p);
77
78 void dumpAll();
79
80 TlbEntry *lookup(Addr va, bool update_lru = true);
81
82 void setConfigAddress(uint32_t addr);
83
84 protected:
85
86 EntryList::iterator lookupIt(Addr va, bool update_lru = true);
87
88 Walker * walker;
89
90 public:
91 Walker *getWalker();
92
78 TlbEntry *lookup(Addr va, bool update_lru = true);
79
80 void setConfigAddress(uint32_t addr);
81
82 protected:
83
84 EntryList::iterator lookupIt(Addr va, bool update_lru = true);
85
86 Walker * walker;
87
88 public:
89 Walker *getWalker();
90
93 void invalidateAll();
91 void flushAll();
94
92
95 void invalidateNonGlobal();
93 void flushNonGlobal();
96
97 void demapPage(Addr va, uint64_t asn);
98
99 protected:
100 int size;
101
102 TlbEntry * tlb;
103

--- 51 unchanged lines hidden ---
94
95 void demapPage(Addr va, uint64_t asn);
96
97 protected:
98 int size;
99
100 TlbEntry * tlb;
101

--- 51 unchanged lines hidden ---