From ea1167dd9fa60f862f8879a5de66938e617e0ce0 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 8 Nov 2010 13:58:24 -0600 Subject: [PATCH] Bus: Have the I/O devices that return address ranges print them out. This way we actually get device names associated with the devices. --- src/dev/io_device.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dev/io_device.cc b/src/dev/io_device.cc index 5bb981c66..08269bf51 100644 --- 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)); } -- 2.30.2