summaryrefslogtreecommitdiff
path: root/dev/io_device.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-03-29 17:37:41 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-03-29 17:37:41 -0500
commit35faf09bcce4eaac5d6899d7e371b2506d1b256f (patch)
treead93a7953130d4be1e911a469452b7f8e3f5ee6a /dev/io_device.cc
parentd46d3d6811822d218c137cd6d991e6b4981811d6 (diff)
parent62f5d7dd3ffbbb33e8371af589eaa69280bd017a (diff)
downloadgem5-35faf09bcce4eaac5d6899d7e371b2506d1b256f.tar.xz
Merge zizzer:/bk/newmem
into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : 5ab4ce9f6ec7af326d8906060ae3558cfd67ca08
Diffstat (limited to 'dev/io_device.cc')
-rw-r--r--dev/io_device.cc17
1 files changed, 10 insertions, 7 deletions
diff --git a/dev/io_device.cc b/dev/io_device.cc
index 5f5f9a09d..ac993d78d 100644
--- a/dev/io_device.cc
+++ b/dev/io_device.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2005 The Regents of The University of Michigan
+ * Copyright (c) 2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -72,12 +72,6 @@ PioPort::SendEvent::process()
port->transmitList.push_back(&packet);
}
-PioDevice::PioDevice(const std::string &name, Platform *p)
- : SimObject(name), platform(p)
-{
- pioPort = new PioPort(this, p);
-}
-
bool
PioPort::recvTiming(Packet &pkt)
@@ -201,4 +195,13 @@ DmaDevice::~DmaDevice()
delete dmaPort;
}
+void
+BasePioDevice::addressRanges(AddrRangeList &range_list, bool &owner)
+{
+ assert(pioSize != 0);
+ owner = true;
+ range_list.clear();
+ range_list.push_back(RangeSize(pio_addr, sizeof(struct alphaAccess)));
+}
+