changeset d3c006ecccd3 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=d3c006ecccd3
description:
        Bus: Have the I/O devices that return address ranges print them out.

        This way we actually get device names associated with the devices.

diffstat:

 src/dev/io_device.cc |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r cf9db1c47a77 -r d3c006ecccd3 src/dev/io_device.cc
--- a/src/dev/io_device.cc      Mon Nov 08 13:58:24 2010 -0600
+++ b/src/dev/io_device.cc      Mon Nov 08 13:58:24 2010 -0600
@@ -51,6 +51,8 @@
 {
     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 @@
 {
     assert(pioSize != 0);
     range_list.clear();
+    DPRINTF(BusAddrRanges, "registering range: %#x-%#x\n", pioAddr, pioSize);
     range_list.push_back(RangeSize(pioAddr, pioSize));
 }
 
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to