From: Andreas Sandberg Date: Fri, 2 Nov 2012 16:32:01 +0000 (-0500) Subject: pci: Make Python wrapper cast to the right type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=044a6525876efc61838dffa89ac52425d510b754;p=gem5.git pci: Make Python wrapper cast to the right type The PCI base class is PciDev and not PciDevice, which is used by the Python world. Make sure this is reflected in the wrapper code. --- diff --git a/src/dev/Pci.py b/src/dev/Pci.py index 4d2baa3e8..8b4fd7b2f 100644 --- a/src/dev/Pci.py +++ b/src/dev/Pci.py @@ -41,6 +41,7 @@ class PciConfigAll(PioDevice): class PciDevice(DmaDevice): type = 'PciDevice' + cxx_class = 'PciDev' abstract = True platform = Param.Platform(Parent.any, "Platform this device is part of.") config = SlavePort("PCI configuration space port")