From 52f90890a3f1d3a6485fe3804c1de6af654efbc6 Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Thu, 17 Oct 2013 10:20:45 -0500 Subject: mem: Add PortID to QueuedMasterPort constructor This patch adds the PortID to the QueuedMasterPort. This allows a PortID to be specified as it previously was set to the detault value of -1. --- src/mem/qport.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/qport.hh') diff --git a/src/mem/qport.hh b/src/mem/qport.hh index dd5caa084..1453418b8 100644 --- a/src/mem/qport.hh +++ b/src/mem/qport.hh @@ -122,8 +122,8 @@ class QueuedMasterPort : public MasterPort * QueuePort constructor. */ QueuedMasterPort(const std::string& name, MemObject* owner, - MasterPacketQueue &queue) : - MasterPort(name, owner), queue(queue) + MasterPacketQueue &queue, PortID id = InvalidPortID) : + MasterPort(name, owner, id), queue(queue) { } virtual ~QueuedMasterPort() { } -- cgit v1.2.3