summaryrefslogtreecommitdiff
path: root/src/dev/i8254xGBe.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/i8254xGBe.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/i8254xGBe.hh')
-rw-r--r--src/dev/i8254xGBe.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/i8254xGBe.hh b/src/dev/i8254xGBe.hh
index f1802ab24..f46bf51d3 100644
--- a/src/dev/i8254xGBe.hh
+++ b/src/dev/i8254xGBe.hh
@@ -263,7 +263,7 @@ class IGbE : public EtherDevice
EthPacketPtr pktPtr;
/** Shortcut for DMA address translation */
- Addr pciToDma(Addr a) { return igbe->platform->pciToDma(a); }
+ Addr pciToDma(Addr a) { return igbe->pciToDma(a); }
public:
/** Annotate sm*/