tlb.hh (5877:9fe574944f31) | tlb.hh (5891:73084c6bb183) |
---|---|
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 translate(RequestPtr &req, ThreadContext *tc); | 148 Fault translateAtomic(RequestPtr &req, ThreadContext *tc); |
149}; 150 151class DTB : public TLB { 152 public: 153 typedef MipsTLBParams Params; 154 DTB(const Params *p); 155 | 149}; 150 151class DTB : public TLB { 152 public: 153 typedef MipsTLBParams Params; 154 DTB(const Params *p); 155 |
156 Fault translate(RequestPtr &req, ThreadContext *tc, bool write = false); | 156 Fault translateAtomic(RequestPtr &req, ThreadContext *tc, 157 bool write = false); |
157}; 158 159class UTB : public ITB, public DTB { 160 public: 161 typedef MipsTLBParams Params; 162 UTB(const Params *p); 163 164}; 165 166} 167 168 169 170#endif // __MIPS_MEMORY_HH__ | 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__ |