1/* 2 * Copyright (c) 2006 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; --- 31 unchanged lines hidden (view full) --- 40 Addr pageStart; 41 TlbEntry() {} 42 TlbEntry(Addr paddr) : pageStart(paddr) {} 43 44 void serialize(std::ostream &os); 45 void unserialize(Checkpoint *cp, const std::string §ion); 46 }; 47 |
48 class TLB : public GenericTLB |
49 { 50 public: |
51 TLB(const std::string &name) : GenericTLB(name) |
52 {} |
53 54 Fault translate(RequestPtr req, ThreadContext *tc, bool=false); |
55 }; 56 |
57 class ITB : public TLB |
58 { 59 public: |
60 ITB(const std::string &name) : TLB(name) |
61 {} 62 }; |
63 64 class DTB : public TLB 65 { 66 public: 67 DTB(const std::string &name) : TLB(name) 68 {} 69 }; |
70}; 71 72#endif // __ARCH_MIPS_TLB_HH__ |