pagetable.hh (5570:13592d41f290) pagetable.hh (5877:9fe574944f31)
1/*
2 * Copyright (c) 2002-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;

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

118 fonr = false;
119 fonw = false;
120 valid = true;
121 }
122
123 TlbEntry()
124 {}
125
1/*
2 * Copyright (c) 2002-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;

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

118 fonr = false;
119 fonw = false;
120 valid = true;
121 }
122
123 TlbEntry()
124 {}
125
126 void
127 updateVaddr(Addr new_vaddr)
128 {
129 VAddr vaddr(new_vaddr);
130 tag = vaddr.vpn();
131 }
132
126 Addr
127 pageStart()
128 {
129 return ppn << PageShift;
130 }
131
132 void serialize(std::ostream &os);
133 void unserialize(Checkpoint *cp, const std::string &section);
134};
135
136} // namespace AlphaISA
137
138#endif // __ARCH_ALPHA_PAGETABLE_H__
139
133 Addr
134 pageStart()
135 {
136 return ppn << PageShift;
137 }
138
139 void serialize(std::ostream &os);
140 void unserialize(Checkpoint *cp, const std::string &section);
141};
142
143} // namespace AlphaISA
144
145#endif // __ARCH_ALPHA_PAGETABLE_H__
146