tlb.hh (5019:2762e580f5db) tlb.hh (5038:c996bb7f1a6d)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

54 *
55 * Authors: Gabe Black
56 */
57
58#ifndef __ARCH_X86_TLB_HH__
59#define __ARCH_X86_TLB_HH__
60
61#include <iostream>
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

54 *
55 * Authors: Gabe Black
56 */
57
58#ifndef __ARCH_X86_TLB_HH__
59#define __ARCH_X86_TLB_HH__
60
61#include <iostream>
62#include <string>
63
64#include "sim/host.hh"
65#include "sim/tlb.hh"
66
67class Checkpoint;
68
69namespace X86ISA
70{

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

76
77 void serialize(std::ostream &os);
78 void unserialize(Checkpoint *cp, const std::string &section);
79 };
80
81 class ITB : public GenericTLB
82 {
83 public:
62
63#include "sim/host.hh"
64#include "sim/tlb.hh"
65
66class Checkpoint;
67
68namespace X86ISA
69{

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

75
76 void serialize(std::ostream &os);
77 void unserialize(Checkpoint *cp, const std::string &section);
78 };
79
80 class ITB : public GenericTLB
81 {
82 public:
84 ITB(const std::string &name) : GenericTLB(name)
83 ITB(const Params *p) : GenericTLB(p)
85 {}
86 };
87
88 class DTB : public GenericTLB
89 {
90 public:
84 {}
85 };
86
87 class DTB : public GenericTLB
88 {
89 public:
91 DTB(const std::string &name) : GenericTLB(name)
90 DTB(const Params *p) : GenericTLB(p)
92 {}
93 };
94};
95
96#endif // __ARCH_X86_TLB_HH__
91 {}
92 };
93};
94
95#endif // __ARCH_X86_TLB_HH__