tlb.cc (5034:6186ef720dd4) tlb.cc (5184:8782de2949e5)
1/*
2 * Copyright (c) 2001-2005 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;

--- 40 unchanged lines hidden (view full) ---

49 return new GenericAlignmentFault(paddr);
50
51 return NoFault;
52 }
53
54 void
55 TlbEntry::serialize(std::ostream &os)
56 {
1/*
2 * Copyright (c) 2001-2005 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;

--- 40 unchanged lines hidden (view full) ---

49 return new GenericAlignmentFault(paddr);
50
51 return NoFault;
52 }
53
54 void
55 TlbEntry::serialize(std::ostream &os)
56 {
57 SERIALIZE_SCALAR(pageStart);
57 SERIALIZE_SCALAR(_pageStart);
58 }
59
60 void
61 TlbEntry::unserialize(Checkpoint *cp, const std::string &section)
62 {
58 }
59
60 void
61 TlbEntry::unserialize(Checkpoint *cp, const std::string &section)
62 {
63 UNSERIALIZE_SCALAR(pageStart);
63 UNSERIALIZE_SCALAR(_pageStart);
64 }
65};
66
67MipsISA::ITB *
68MipsITBParams::create()
69{
70 return new MipsISA::ITB(this);
71}
72
73MipsISA::DTB *
74MipsDTBParams::create()
75{
76 return new MipsISA::DTB(this);
77}
64 }
65};
66
67MipsISA::ITB *
68MipsITBParams::create()
69{
70 return new MipsISA::ITB(this);
71}
72
73MipsISA::DTB *
74MipsDTBParams::create()
75{
76 return new MipsISA::DTB(this);
77}