diff options
author | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:39 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2013-07-11 21:56:39 -0500 |
commit | 2737650a69f0c56d325c2d9cfd45eef099fbd581 (patch) | |
tree | 7e1a7030cdfb961d074729397b6f2c1e24f41e43 /src/dev/arm/pl111.cc | |
parent | b0b1c0205c438d382aaec54ee4b79b92e1a5e285 (diff) | |
download | gem5-2737650a69f0c56d325c2d9cfd45eef099fbd581.tar.xz |
dev/arm: get rid of AmbaDev namespace
It was confusing having an AmbaDev namespace along with an
AmbaDevice class. The namespace stuff is now moved in to
a new base AmbaDevice class, which is a mixin for classes
AmbaPioDevice (the former AmbaDevice) and AmbaDmaDevice
to provide the readId function as an inherited member function.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/dev/arm/pl111.cc')
-rw-r--r-- | src/dev/arm/pl111.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dev/arm/pl111.cc b/src/dev/arm/pl111.cc index 5929da07c..c3d684f29 100644 --- a/src/dev/arm/pl111.cc +++ b/src/dev/arm/pl111.cc @@ -55,8 +55,6 @@ // we open up the entire namespace std using std::vector; -using namespace AmbaDev; - // initialize clcd registers Pl111::Pl111(const Params *p) : AmbaDmaDevice(p), lcdTiming0(0), lcdTiming1(0), lcdTiming2(0), @@ -181,7 +179,7 @@ Pl111::read(PacketPtr pkt) data = clcdCrsrMis; break; default: - if (AmbaDev::readId(pkt, AMBA_ID, pioAddr)) { + if (readId(pkt, AMBA_ID, pioAddr)) { // Hack for variable size accesses data = pkt->get<uint32_t>(); break; |