Deleted Added
sdiff udiff text old ( 5124:3d8c50376609 ) new ( 5140:2fd7f8477b4c )
full compact
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 *

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

103 void insert(Addr vpn, TlbEntry &entry);
104
105 void invalidateAll();
106
107 void invalidateNonGlobal();
108
109 void demapPage(Addr va);
110
111 template<class TlbFault>
112 Fault translate(RequestPtr &req, ThreadContext *tc,
113 bool write, bool execute);
114
115 public:
116 // Checkpointing
117 virtual void serialize(std::ostream &os);
118 virtual void unserialize(Checkpoint *cp, const std::string &section);
119 };
120
121 class ITB : public TLB
122 {

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

133
134 class DTB : public TLB
135 {
136 public:
137 typedef X86DTBParams Params;
138 DTB(const Params *p) : TLB(p)
139 {
140 }
141 Fault translate(RequestPtr &req, ThreadContext *tc, bool write);
142#if FULL_SYSTEM
143 Tick doMmuRegRead(ThreadContext *tc, Packet *pkt);
144 Tick doMmuRegWrite(ThreadContext *tc, Packet *pkt);
145#endif
146
147 // Checkpointing
148 virtual void serialize(std::ostream &os);
149 virtual void unserialize(Checkpoint *cp, const std::string &section);
150 };
151}
152
153#endif // __ARCH_X86_TLB_HH__