tlb.hh (10905:a6ca6831e775) tlb.hh (11168:f98eb2da15a4)
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;

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

112 // unimplemented bits must be all 0 or all 1
113 Addr unimplBits = vaddr & VAddrUnImplMask;
114 return unimplBits == 0 || unimplBits == VAddrUnImplMask;
115 }
116
117 static Fault checkCacheability(RequestPtr &req, bool itb = false);
118
119 // Checkpointing
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;

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

112 // unimplemented bits must be all 0 or all 1
113 Addr unimplBits = vaddr & VAddrUnImplMask;
114 return unimplBits == 0 || unimplBits == VAddrUnImplMask;
115 }
116
117 static Fault checkCacheability(RequestPtr &req, bool itb = false);
118
119 // Checkpointing
120 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
121 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
120 void serialize(CheckpointOut &cp) const override;
121 void unserialize(CheckpointIn &cp) override;
122
123 // Most recently used page table entries
124 TlbEntry *EntryCache[3];
125 inline void
126 flushCache()
127 {
128 memset(EntryCache, 0, 3 * sizeof(TlbEntry*));
129 }

--- 27 unchanged lines hidden ---
122
123 // Most recently used page table entries
124 TlbEntry *EntryCache[3];
125 inline void
126 flushCache()
127 {
128 memset(EntryCache, 0, 3 * sizeof(TlbEntry*));
129 }

--- 27 unchanged lines hidden ---