diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 12:32:45 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 12:32:45 -0500 |
commit | 944646124e3d1222601294f62c78754c6705a2d6 (patch) | |
tree | 863dcb04c089dec8eb9b1e6321639f4bb6ca5e8a /dev | |
parent | 00264ff1b87dc649fbe0fb857f38b9b057437bb4 (diff) | |
download | gem5-944646124e3d1222601294f62c78754c6705a2d6.tar.xz |
Rename Port address range functions... like the block size
functions, the send/recv*Query naming seems awkward.
Also create a typedef for AddrRangeList.
--HG--
extra : convert_revision : dd0ff3fad06ec329c82c199700d0a6264f1271d3
Diffstat (limited to 'dev')
-rw-r--r-- | dev/io_device.hh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev/io_device.hh b/dev/io_device.hh index 88dd32733..a79c3f20a 100644 --- a/dev/io_device.hh +++ b/dev/io_device.hh @@ -50,8 +50,7 @@ class PioPort : public Port virtual void recvFunctional(Packet &pkt) { device->recvAtomic(pkt) }; - virtual void recvAddressRangeQuery(std::list<Range<Addr> > &range_list, - bool &owner) + virtual void getDeviceAddressRanges(AddrRangeList &range_list, bool &owner) { device->addressRanges(range_list, owner); } void sendTiming(Packet &pkt, Tick time) @@ -101,8 +100,7 @@ class DmaPort : public Port virtual Packet *recvRetry() { return transmitList.pop_front(); } - virtual void recvAddressRangeQuery(std::list<Range<Addr> > &range_list, - bool &owner) + virtual void getDeviceAddressRanges(AddrRangeList &range_list, bool &owner) { range_list.clear(); owner = true; } void dmaAction(Memory::Command cmd, DmaPort port, Addr addr, int size, @@ -146,8 +144,7 @@ class PioDevice : public SimObject PioPort *pioPort; - virtual void addressRanges(std::list<Range<Addr> > &range_list, - bool &owner) = 0; + virtual void addressRanges(AddrRangeList &range_list, bool &owner) = 0; virtual read(Packet &pkt) = 0; |