physical.hh (8922:17f037ad8918) | physical.hh (8923:820111f58fbb) |
---|---|
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 | 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 protected: | |
202 Tick doAtomicAccess(PacketPtr pkt); 203 void doFunctionalAccess(PacketPtr pkt); | 201 Tick doAtomicAccess(PacketPtr pkt); 202 void doFunctionalAccess(PacketPtr pkt); |
203 204 205 protected: |
|
204 virtual Tick calculateLatency(PacketPtr pkt); 205 206 public: 207 /** 208 * Register Statistics 209 */ 210 void regStats(); 211 212 virtual void serialize(std::ostream &os); 213 virtual void unserialize(Checkpoint *cp, const std::string §ion); 214 215}; 216 217#endif //__PHYSICAL_MEMORY_HH__ | 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__ |