diff options
author | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:24 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:24 -0500 |
commit | b0b1c0205c438d382aaec54ee4b79b92e1a5e285 (patch) | |
tree | f490b704b90dfaba13254565a8d59770b9cddbed /src/dev/pciconfigall.hh | |
parent | 8e54c93222cd69dd4c388adc37cded7b7eebef76 (diff) | |
download | gem5-b0b1c0205c438d382aaec54ee4b79b92e1a5e285.tar.xz |
devices: make more classes derive from BasicPioDevice
A couple of devices that have single fixed memory mapped regions
were not derived from BasicPioDevice, when that's exactly
the functionality that BasicPioDevice provides. This patch
gets rid of a little bit of redundant code by making those
devices actually do so.
Also fixed the weird case of X86ISA::Interrupts, where
the class already did derive from BasicPioDevice but
didn't actually use all the features it could have.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/dev/pciconfigall.hh')
-rw-r--r-- | src/dev/pciconfigall.hh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dev/pciconfigall.hh b/src/dev/pciconfigall.hh index 4df36f0b3..615b3578f 100644 --- a/src/dev/pciconfigall.hh +++ b/src/dev/pciconfigall.hh @@ -48,7 +48,7 @@ * space and passes the requests on to TsunamiPCIDev devices as * appropriate. */ -class PciConfigAll : public PioDevice +class PciConfigAll : public BasicPioDevice { public: typedef PciConfigAllParams Params; @@ -78,12 +78,6 @@ class PciConfigAll : public PioDevice */ virtual Tick write(PacketPtr pkt); - - AddrRangeList getAddrRanges() const; - - private: - Addr pioAddr; - }; #endif // __PCICONFIGALL_HH__ |