tlb.cc (4997:e7380529bd2d) tlb.cc (5014:f9667cf03d3f)
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;

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

30
31#include <cstring>
32
33#include "arch/mips/tlb.hh"
34#include "params/MipsDTB.hh"
35#include "params/MipsITB.hh"
36
37namespace MipsISA {
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;

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

30
31#include <cstring>
32
33#include "arch/mips/tlb.hh"
34#include "params/MipsDTB.hh"
35#include "params/MipsITB.hh"
36
37namespace MipsISA {
38 void
39 TlbEntry::serialize(std::ostream &os)
40 {
41 SERIALIZE_SCALAR(pageStart);
42 }
43
44 void
45 TlbEntry::unserialize(Checkpoint *cp, const std::string &section)
46 {
47 UNSERIALIZE_SCALAR(pageStart);
48 }
38};
39
40MipsISA::ITB *
41MipsITBParams::create()
42{
43 return new MipsISA::ITB(name);
44}
45
46MipsISA::DTB *
47MipsDTBParams::create()
48{
49 return new MipsISA::DTB(name);
50}
49};
50
51MipsISA::ITB *
52MipsITBParams::create()
53{
54 return new MipsISA::ITB(name);
55}
56
57MipsISA::DTB *
58MipsDTBParams::create()
59{
60 return new MipsISA::DTB(name);
61}