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 * --- 201 unchanged lines hidden (view full) --- 210 }; 211 212 Walker walker; 213 214#endif 215 216 Port *getPort(const std::string &if_name, int idx = -1); 217 |
218 public: 219 void invalidateAll(); 220 221 void invalidateNonGlobal(); 222 223 void demapPage(Addr va); 224 |
225 protected: 226 int size; 227 228 TlbEntry * tlb; 229 230 typedef std::list<TlbEntry *> EntryList; 231 EntryList freeList; 232 EntryList entryList; 233 234 void insert(Addr vpn, TlbEntry &entry); 235 |
236 template<class TlbFault> 237 Fault translate(RequestPtr &req, ThreadContext *tc, 238 bool write, bool execute); 239 240 public: 241 // Checkpointing 242 virtual void serialize(std::ostream &os); 243 virtual void unserialize(Checkpoint *cp, const std::string §ion); --- 39 unchanged lines hidden --- |