summaryrefslogtreecommitdiff
path: root/dev/io_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/io_device.cc')
-rw-r--r--dev/io_device.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev/io_device.cc b/dev/io_device.cc
index 5d3a87006..9fd478826 100644
--- a/dev/io_device.cc
+++ b/dev/io_device.cc
@@ -88,6 +88,14 @@ PioDevice::~PioDevice()
delete pioPort;
}
+void
+BasicPioDevice::addressRanges(AddrRangeList &range_list)
+{
+ assert(pioSize != 0);
+ range_list.clear();
+ range_list.push_back(RangeSize(pioAddr, pioSize));
+}
+
DmaPort::DmaPort(DmaDevice *dev)
: device(dev)