diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-12-19 16:25:38 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-12-19 16:25:38 +0000 |
commit | d113153b52306a97710ce5da1523862685aba1ae (patch) | |
tree | 7cab05f232ad429531b07914bc8eb85123232e62 | |
parent | ac8e73565a244257f233cecfe936caf043af18fe (diff) | |
download | gem5-d113153b52306a97710ce5da1523862685aba1ae.tar.xz |
python: Fix incorrect header in the DmaDevice wrapper
The header declared in the DmaDevice wrapper doesn't actually contain
the DmaDevice class. This can potentially lead to incorrect type cases
in Swig.
Change-Id: If2266d4180d1d6fd13359a81067068854c5e96fe
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
-rw-r--r-- | src/dev/Device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/Device.py b/src/dev/Device.py index b274b152c..d51d7bd8d 100644 --- a/src/dev/Device.py +++ b/src/dev/Device.py @@ -46,7 +46,7 @@ class BasicPioDevice(PioDevice): class DmaDevice(PioDevice): type = 'DmaDevice' - cxx_header = "dev/io_device.hh" + cxx_header = "dev/dma_device.hh" abstract = True dma = MasterPort("DMA port") |