tlb.hh (5358:e9acb84bbafb) tlb.hh (5532:d8ab33f5ff9a)
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;

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

87
88 // static helper functions... really EV5 VM traits
89 static bool validVirtualAddress(Addr vaddr) {
90 // unimplemented bits must be all 0 or all 1
91 Addr unimplBits = vaddr & EV5::VAddrUnImplMask;
92 return (unimplBits == 0) || (unimplBits == EV5::VAddrUnImplMask);
93 }
94
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;

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

87
88 // static helper functions... really EV5 VM traits
89 static bool validVirtualAddress(Addr vaddr) {
90 // unimplemented bits must be all 0 or all 1
91 Addr unimplBits = vaddr & EV5::VAddrUnImplMask;
92 return (unimplBits == 0) || (unimplBits == EV5::VAddrUnImplMask);
93 }
94
95 static Fault checkCacheability(RequestPtr &req);
95 static Fault checkCacheability(RequestPtr &req, bool itb = false);
96
97 // Checkpointing
98 virtual void serialize(std::ostream &os);
99 virtual void unserialize(Checkpoint *cp, const std::string &section);
100
101 // Most recently used page table entries
102 TlbEntry *EntryCache[3];
103 inline void flushCache()

--- 54 unchanged lines hidden ---
96
97 // Checkpointing
98 virtual void serialize(std::ostream &os);
99 virtual void unserialize(Checkpoint *cp, const std::string &section);
100
101 // Most recently used page table entries
102 TlbEntry *EntryCache[3];
103 inline void flushCache()

--- 54 unchanged lines hidden ---