summaryrefslogtreecommitdiff
path: root/src/mem/bridge.cc
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:57 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:57 -0800
commitd7a4f665ed72b221e8210cc79bbd8edf967a4a4a (patch)
treed82ca4e9e5a2f3850b4c70cc1488beafcb1cc878 /src/mem/bridge.cc
parent17e14efa7e7358f02f2664e10e4001faf6b7811e (diff)
downloadgem5-d7a4f665ed72b221e8210cc79bbd8edf967a4a4a.tar.xz
ruby: Added more info to bridge error message
Diffstat (limited to 'src/mem/bridge.cc')
-rw-r--r--src/mem/bridge.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/bridge.cc b/src/mem/bridge.cc
index cc9b83d3e..d0135fc9d 100644
--- a/src/mem/bridge.cc
+++ b/src/mem/bridge.cc
@@ -93,7 +93,9 @@ Bridge::init()
fatal("Both ports of bus bridge are not connected to a bus.\n");
if (portA.peerBlockSize() != portB.peerBlockSize())
- fatal("Busses don't have the same block size... Not supported.\n");
+ fatal("port A size %d, port B size %d \n " \
+ "Busses don't have the same block size... Not supported.\n",
+ portA.peerBlockSize(), portB.peerBlockSize());
}
bool