tlb.hh (6691:cd68b6ecd68d) tlb.hh (6972:b6482c4c89e3)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

151 demapPage(Addr vaddr, uint64_t asn)
152 {
153 panic("demapPage unimplemented.\n");
154 }
155
156 // static helper functions... really
157 static bool validVirtualAddress(Addr vaddr);
158 static Fault checkCacheability(RequestPtr &req);
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

151 demapPage(Addr vaddr, uint64_t asn)
152 {
153 panic("demapPage unimplemented.\n");
154 }
155
156 // static helper functions... really
157 static bool validVirtualAddress(Addr vaddr);
158 static Fault checkCacheability(RequestPtr &req);
159 Fault translateInst(RequestPtr req, ThreadContext *tc);
160 Fault translateData(RequestPtr req, ThreadContext *tc, bool write);
159 Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode);
160 void translateTiming(RequestPtr req, ThreadContext *tc,
161 Translation *translation, Mode mode);
162
163 // Checkpointing
164 void serialize(std::ostream &os);
165 void unserialize(Checkpoint *cp, const std::string &section);
166 void regStats();
167};
168
169} // PowerISA namespace
170
171#endif // __ARCH_POWER_TLB_HH__
161 Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode);
162 void translateTiming(RequestPtr req, ThreadContext *tc,
163 Translation *translation, Mode mode);
164
165 // Checkpointing
166 void serialize(std::ostream &os);
167 void unserialize(Checkpoint *cp, const std::string &section);
168 void regStats();
169};
170
171} // PowerISA namespace
172
173#endif // __ARCH_POWER_TLB_HH__