Deleted Added
sdiff udiff text old ( 5891:73084c6bb183 ) new ( 5894:8091ac99341a )
full compact
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);
149 void translateTiming(RequestPtr req, ThreadContext *tc,
150 Translation *translation);
151};
152
153class DTB : public TLB {
154 public:
155 typedef MipsTLBParams Params;
156 DTB(const Params *p);
157
158 Fault translateAtomic(RequestPtr req, ThreadContext *tc,
159 bool write = false);
160 void translateTiming(RequestPtr req, ThreadContext *tc,
161 Translation *translation, bool write = false);
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__