projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mem-cache: Add setters to validate and secure block
[gem5.git]
/
src
/
mem
/
serial_link.hh
diff --git
a/src/mem/serial_link.hh
b/src/mem/serial_link.hh
index d4f6ca4881c4827fc6850ab26962b1ee1b3211d8..6315f1b947b0c70b67def4a27d831f19c500c241 100644
(file)
--- a/
src/mem/serial_link.hh
+++ b/
src/mem/serial_link.hh
@@
-146,8
+146,7
@@
class SerialLink : public MemObject
void trySendTiming();
/** Send event for the response queue. */
void trySendTiming();
/** Send event for the response queue. */
- EventWrapper<SerialLinkSlavePort,
- &SerialLinkSlavePort::trySendTiming> sendEvent;
+ EventFunctionWrapper sendEvent;
public:
public:
@@
-247,8
+246,7
@@
class SerialLink : public MemObject
void trySendTiming();
/** Send event for the request queue. */
void trySendTiming();
/** Send event for the request queue. */
- EventWrapper<SerialLinkMasterPort,
- &SerialLinkMasterPort::trySendTiming> sendEvent;
+ EventFunctionWrapper sendEvent;
public:
public:
@@
-290,7
+288,7
@@
class SerialLink : public MemObject
*
* @return true if we find a match
*/
*
* @return true if we find a match
*/
- bool
check
Functional(PacketPtr pkt);
+ bool
trySatisfy
Functional(PacketPtr pkt);
protected:
protected:
@@
-312,6
+310,9
@@
class SerialLink : public MemObject
/** Number of parallel lanes in this serial link */
unsigned num_lanes;
/** Number of parallel lanes in this serial link */
unsigned num_lanes;
+ /** Speed of each link (Gb/s) in this serial link */
+ uint64_t link_speed;
+
public:
virtual BaseMasterPort& getMasterPort(const std::string& if_name,
public:
virtual BaseMasterPort& getMasterPort(const std::string& if_name,