tlb.hh (5891:73084c6bb183) tlb.hh (5894:8091ac99341a)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

140 void regStats();
141};
142
143class ITB : public TLB {
144 public:
145 typedef MipsTLBParams Params;
146 ITB(const Params *p);
147
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

140 void regStats();
141};
142
143class ITB : public TLB {
144 public:
145 typedef MipsTLBParams Params;
146 ITB(const Params *p);
147
148 Fault translateAtomic(RequestPtr &req, ThreadContext *tc);
148 Fault translateAtomic(RequestPtr req, ThreadContext *tc);
149 void translateTiming(RequestPtr req, ThreadContext *tc,
150 Translation *translation);
149};
150
151class DTB : public TLB {
152 public:
153 typedef MipsTLBParams Params;
154 DTB(const Params *p);
155
151};
152
153class DTB : public TLB {
154 public:
155 typedef MipsTLBParams Params;
156 DTB(const Params *p);
157
156 Fault translateAtomic(RequestPtr &req, ThreadContext *tc,
158 Fault translateAtomic(RequestPtr req, ThreadContext *tc,
157 bool write = false);
159 bool write = false);
160 void translateTiming(RequestPtr req, ThreadContext *tc,
161 Translation *translation, bool write = false);
158};
159
160class UTB : public ITB, public DTB {
161 public:
162 typedef MipsTLBParams Params;
163 UTB(const Params *p);
164
165};
166
167}
168
169
170
171#endif // __MIPS_MEMORY_HH__
162};
163
164class UTB : public ITB, public DTB {
165 public:
166 typedef MipsTLBParams Params;
167 UTB(const Params *p);
168
169};
170
171}
172
173
174
175#endif // __MIPS_MEMORY_HH__