projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c31ce
)
Bus: Have the I/O devices that return address ranges print them out.
author
Ali Saidi
<Ali.Saidi@ARM.com>
Mon, 8 Nov 2010 19:58:24 +0000
(13:58 -0600)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Mon, 8 Nov 2010 19:58:24 +0000
(13:58 -0600)
This way we actually get device names associated with the devices.
src/dev/io_device.cc
patch
|
blob
|
history
diff --git
a/src/dev/io_device.cc
b/src/dev/io_device.cc
index 5bb981c669bda601adf3efd79eb4e243bd5372f9..08269bf51bdd7cf427ab5e17cb6b20b368a59576 100644
(file)
--- a/
src/dev/io_device.cc
+++ b/
src/dev/io_device.cc
@@
-51,6
+51,8
@@
PioPort::getDeviceAddressRanges(AddrRangeList &resp, bool &snoop)
{
snoop = false;
device->addressRanges(resp);
+ for (AddrRangeIter i = resp.begin(); i != resp.end(); i++)
+ DPRINTF(BusAddrRanges, "Adding Range %#x-%#x\n", i->start, i->end);
}
@@
-95,6
+97,7
@@
BasicPioDevice::addressRanges(AddrRangeList &range_list)
{
assert(pioSize != 0);
range_list.clear();
+ DPRINTF(BusAddrRanges, "registering range: %#x-%#x\n", pioAddr, pioSize);
range_list.push_back(RangeSize(pioAddr, pioSize));
}