changeset 3e4972406ba9 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=3e4972406ba9
description:
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 <[email protected]>
Reviewed-by: Sascha Bischoff <[email protected]>
diffstat:
src/dev/Device.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 302c6b957854 -r 3e4972406ba9 src/dev/Device.py
--- a/src/dev/Device.py Mon Dec 19 16:25:37 2016 +0000
+++ b/src/dev/Device.py Mon Dec 19 16:25:38 2016 +0000
@@ -46,7 +46,7 @@
class DmaDevice(PioDevice):
type = 'DmaDevice'
- cxx_header = "dev/io_device.hh"
+ cxx_header = "dev/dma_device.hh"
abstract = True
dma = MasterPort("DMA port")
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev