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; --- 184 unchanged lines hidden (view full) --- 193 194 public: 195 unsigned deviceBlockSize() const; 196 AddrRangeList getAddrRanges(); 197 virtual SlavePort &getSlavePort(const std::string &if_name, int idx = -1); 198 void virtual init(); 199 unsigned int drain(Event *de); 200 |
201 Tick doAtomicAccess(PacketPtr pkt); 202 void doFunctionalAccess(PacketPtr pkt); |
203 204 205 protected: |
206 virtual Tick calculateLatency(PacketPtr pkt); 207 208 public: 209 /** 210 * Register Statistics 211 */ 212 void regStats(); 213 214 virtual void serialize(std::ostream &os); 215 virtual void unserialize(Checkpoint *cp, const std::string §ion); 216 217}; 218 219#endif //__PHYSICAL_MEMORY_HH__ |