physical.hh (8719:d70a85ee7062) physical.hh (8922:17f037ad8918)
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;

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

62 MemoryPort(const std::string &_name, PhysicalMemory *_memory);
63
64 protected:
65
66 virtual Tick recvAtomic(PacketPtr pkt);
67
68 virtual void recvFunctional(PacketPtr pkt);
69
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;

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

62 MemoryPort(const std::string &_name, PhysicalMemory *_memory);
63
64 protected:
65
66 virtual Tick recvAtomic(PacketPtr pkt);
67
68 virtual void recvFunctional(PacketPtr pkt);
69
70 virtual void recvRangeChange();
71
72 virtual AddrRangeList getAddrRanges();
73
74 virtual unsigned deviceBlockSize() const;
75 };
76
77 int numPorts;
78
79

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

191 params() const
192 {
193 return dynamic_cast<const Params *>(_params);
194 }
195
196 public:
197 unsigned deviceBlockSize() const;
198 AddrRangeList getAddrRanges();
70 virtual AddrRangeList getAddrRanges();
71
72 virtual unsigned deviceBlockSize() const;
73 };
74
75 int numPorts;
76
77

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

189 params() const
190 {
191 return dynamic_cast<const Params *>(_params);
192 }
193
194 public:
195 unsigned deviceBlockSize() const;
196 AddrRangeList getAddrRanges();
199 virtual Port *getPort(const std::string &if_name, int idx = -1);
197 virtual SlavePort &getSlavePort(const std::string &if_name, int idx = -1);
200 void virtual init();
201 unsigned int drain(Event *de);
202
203 protected:
204 Tick doAtomicAccess(PacketPtr pkt);
205 void doFunctionalAccess(PacketPtr pkt);
206 virtual Tick calculateLatency(PacketPtr pkt);
207

--- 12 unchanged lines hidden ---
198 void virtual init();
199 unsigned int drain(Event *de);
200
201 protected:
202 Tick doAtomicAccess(PacketPtr pkt);
203 void doFunctionalAccess(PacketPtr pkt);
204 virtual Tick calculateLatency(PacketPtr pkt);
205

--- 12 unchanged lines hidden ---