tlb.hh (5014:f9667cf03d3f) | tlb.hh (5019:2762e580f5db) |
---|---|
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 | 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 ITB : public GenericITB<> | 48 class TLB : public GenericTLB |
49 { 50 public: | 49 { 50 public: |
51 ITB(const std::string &name) : GenericITB<>(name) | 51 TLB(const std::string &name) : GenericTLB(name) |
52 {} | 52 {} |
53 54 Fault translate(RequestPtr req, ThreadContext *tc, bool=false); |
|
53 }; 54 | 55 }; 56 |
55 class DTB : public GenericDTB<> | 57 class ITB : public TLB |
56 { 57 public: | 58 { 59 public: |
58 DTB(const std::string &name) : GenericDTB<>(name) | 60 ITB(const std::string &name) : TLB(name) |
59 {} 60 }; | 61 {} 62 }; |
63 64 class DTB : public TLB 65 { 66 public: 67 DTB(const std::string &name) : TLB(name) 68 {} 69 }; |
|
61}; 62 63#endif // __ARCH_MIPS_TLB_HH__ | 70}; 71 72#endif // __ARCH_MIPS_TLB_HH__ |