diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-04-10 14:14:06 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-04-10 14:14:06 -0400 |
commit | e8b6eb49bcaa768c40c10e354bb66cae0a65a2a1 (patch) | |
tree | baca46eb4f45784aa40cf0e9aa722dfa7e474308 /dev/io_device.cc | |
parent | 2609ed2a7cf736834cafcf0b07465c45dfb567e3 (diff) | |
download | gem5-e8b6eb49bcaa768c40c10e354bb66cae0a65a2a1.tar.xz |
updates for newmem
SConscript:
compile some more devices
--HG--
extra : convert_revision : 82a8164ab38814a56a0c143658bc06338cf6b8f5
Diffstat (limited to 'dev/io_device.cc')
-rw-r--r-- | dev/io_device.cc | 8 |
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) |