diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-08-27 18:29:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-08-27 18:29:15 -0700 |
commit | 8253ff2ba908779a6f8b59e9438b03c2c0407b51 (patch) | |
tree | 6d76674b2c40881c2a9cd0e83ddc56d3d8032c78 /src/arch/mips/tlb.hh | |
parent | 25ad253643a4348f72e98094f75163a7a2325e72 (diff) | |
download | gem5-8253ff2ba908779a6f8b59e9438b03c2c0407b51.tar.xz |
MIPS: Fixes to get mips to compile.
--HG--
extra : convert_revision : 23561eda853a51046ae56c23a88466230c3e83f2
Diffstat (limited to 'src/arch/mips/tlb.hh')
-rw-r--r-- | src/arch/mips/tlb.hh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/arch/mips/tlb.hh b/src/arch/mips/tlb.hh index 416857776..6025de4c0 100644 --- a/src/arch/mips/tlb.hh +++ b/src/arch/mips/tlb.hh @@ -35,17 +35,27 @@ namespace MipsISA { - class ITB : public GenericITB + struct TlbEntry + { + Addr pageStart; + TlbEntry() {} + TlbEntry(Addr paddr) : pageStart(paddr) {} + + void serialize(std::ostream &os); + void unserialize(Checkpoint *cp, const std::string §ion); + }; + + class ITB : public GenericITB<> { public: - ITB(const std::string &name) : GenericITB(name) + ITB(const std::string &name) : GenericITB<>(name) {} }; - class DTB : public GenericDTB + class DTB : public GenericDTB<> { public: - DTB(const std::string &name) : GenericDTB(name) + DTB(const std::string &name) : GenericDTB<>(name) {} }; }; |