tlb.hh (3453:c3ce58882751) tlb.hh (4957:f858d0b8ef99)
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;

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

83 return (unimplBits == 0) || (unimplBits == EV5::VAddrUnImplMask);
84 }
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 &section);
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;

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

83 return (unimplBits == 0) || (unimplBits == EV5::VAddrUnImplMask);
84 }
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 &section);
91
92 // Most recently used page table entries
93 PTE *PTECache[2];
94 inline void flushCache() { memset(PTECache, 0, 2 * sizeof(PTE*)); }
91 };
92
93 class ITB : public TLB
94 {
95 protected:
96 mutable Stats::Scalar<> hits;
97 mutable Stats::Scalar<> misses;
98 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 ---