base, sim, dev: Remove SWIG
Remove SWIG guards and SWIG-specific C++ code. Change-Id: Icaad6720513b6f48153727ef3f70e0dba0df4bee Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Andreas Hansson <andreas.hansson@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/2921 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
This commit is contained in:
@@ -128,10 +128,8 @@ class EtherDevice : public PciDevice
|
||||
* The Python object hierarchy includes the EtherDevBase class which
|
||||
* is used by some ethernet devices as a way to share common
|
||||
* configuration information in the generated param structs. Since the
|
||||
* Python hierarchy is used to generate a SWIG interface for all C++
|
||||
* SimObjects, we need to reflect this in the C++ object hierarchy. If
|
||||
* we don't, SWIG might end up doing 'bad things' when it down casts
|
||||
* ethernet objects to their base class(es).
|
||||
* Python hierarchy is used to generate a Python interfaces for all C++
|
||||
* SimObjects, we need to reflect this in the C++ object hierarchy.
|
||||
*/
|
||||
class EtherDevBase : public EtherDevice
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user