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>
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)
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)
91 {}
92 };
93};
94
95#endif // __ARCH_X86_TLB_HH__