tlb.hh (4957:f858d0b8ef99) | tlb.hh (4960:f0e3c34737d3) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 76 unchanged lines hidden (view full) --- 85 86 static Fault checkCacheability(RequestPtr &req); 87 88 // Checkpointing 89 virtual void serialize(std::ostream &os); 90 virtual void unserialize(Checkpoint *cp, const std::string §ion); 91 92 // Most recently used page table entries | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 76 unchanged lines hidden (view full) --- 85 86 static Fault checkCacheability(RequestPtr &req); 87 88 // Checkpointing 89 virtual void serialize(std::ostream &os); 90 virtual void unserialize(Checkpoint *cp, const std::string §ion); 91 92 // Most recently used page table entries |
93 PTE *PTECache[2]; 94 inline void flushCache() { memset(PTECache, 0, 2 * sizeof(PTE*)); } | 93 PTE *PTECache[3]; 94 inline void flushCache() { memset(PTECache, 0, 3 * sizeof(PTE*)); } |
95 }; 96 97 class ITB : public TLB 98 { 99 protected: 100 mutable Stats::Scalar<> hits; 101 mutable Stats::Scalar<> misses; 102 mutable Stats::Scalar<> acv; --- 34 unchanged lines hidden --- | 95 }; 96 97 class ITB : public TLB 98 { 99 protected: 100 mutable Stats::Scalar<> hits; 101 mutable Stats::Scalar<> misses; 102 mutable Stats::Scalar<> acv; --- 34 unchanged lines hidden --- |