diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-06-09 09:21:12 -0400 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-06-09 09:21:12 -0400 |
commit | a9cad92011560fe03c7d6ffde6d679cc84e48816 (patch) | |
tree | c7f7e6a0e8a3791126a80ef4bdd1eeba04b3064d /src/dev/arm/amba_device.hh | |
parent | b29e55d44a70de6ed126a03fcd938bfe34a3a8a5 (diff) | |
download | gem5-a9cad92011560fe03c7d6ffde6d679cc84e48816.tar.xz |
dev, arm: Include PIO size in AmbaDmaDevice constructor
Make it possible to specify the size of the PIO space for an AMBA DMA
device. Maintain backwards compatibility and default to zero.
Diffstat (limited to 'src/dev/arm/amba_device.hh')
-rw-r--r-- | src/dev/arm/amba_device.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/arm/amba_device.hh b/src/dev/arm/amba_device.hh index 3915e436c..869126146 100644 --- a/src/dev/arm/amba_device.hh +++ b/src/dev/arm/amba_device.hh @@ -109,7 +109,7 @@ class AmbaDmaDevice : public DmaDevice, public AmbaDevice public: typedef AmbaDmaDeviceParams Params; - AmbaDmaDevice(const Params *p); + AmbaDmaDevice(const Params *p, Addr pio_size = 0); }; |