summaryrefslogtreecommitdiff
path: root/src/dev/pcidev.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-11-09 13:44:04 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-11-09 13:44:04 +0000
commitc62fe43ba9134e62932105313a42d43589c413f8 (patch)
treeb8fc2324e0307147e5098565b60e402936a6be68 /src/dev/pcidev.hh
parent324bc9771d1f3129aee87ccb73bcf23ea4c3b60e (diff)
downloadgem5-c62fe43ba9134e62932105313a42d43589c413f8.tar.xz
dev: Don't access the platform directly in PCI devices
Cleanup PCI devices to avoid using the PciDevice::platform pointer directly. The PCI-specific functionality provided by the Platform should be accessed through the wrappers in PciDevice.
Diffstat (limited to 'src/dev/pcidev.hh')
-rw-r--r--src/dev/pcidev.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dev/pcidev.hh b/src/dev/pcidev.hh
index 284b64f09..0afcba154 100644
--- a/src/dev/pcidev.hh
+++ b/src/dev/pcidev.hh
@@ -190,8 +190,10 @@ class PciDevice : public DmaDevice
return true;
}
- protected:
+ private:
Platform *platform;
+
+ protected:
Tick pioDelay;
Tick configDelay;
PciConfigPort configPort;