diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-11-09 13:44:04 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-11-09 13:44:04 +0000 |
commit | c62fe43ba9134e62932105313a42d43589c413f8 (patch) | |
tree | b8fc2324e0307147e5098565b60e402936a6be68 /src/dev/pcidev.hh | |
parent | 324bc9771d1f3129aee87ccb73bcf23ea4c3b60e (diff) | |
download | gem5-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.hh | 4 |
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; |