gem5/src/dev/mips
Andreas Sandberg c0ab52799c sim: Include object header files in SWIG interfaces
When casting objects in the generated SWIG interfaces, SWIG uses
classical C-style casts ( (Foo *)bar; ). In some cases, this can
degenerate into the equivalent of a reinterpret_cast (mainly if only a
forward declaration of the type is available). This usually works for
most compilers, but it is known to break if multiple inheritance is
used anywhere in the object hierarchy.

This patch introduces the cxx_header attribute to Python SimObject
definitions, which should be used to specify a header to include in
the SWIG interface. The header should include the declaration of the
wrapped object. We currently don't enforce header the use of the
header attribute, but a warning will be generated for objects that do
not use it.
2012-11-02 11:32:01 -05:00
..
access.h style: Remove non-leading tabs everywhere they shouldn't be. Developers should configure their editors to not insert tabs 2008-09-10 14:26:15 -04:00
console Add in files from merge-bare-iron, get them compiling in FS and SE mode 2007-11-13 16:58:16 -05:00
malta.cc SE/FS: Remove System::platform and Platform::intrFrequency. 2011-09-30 00:29:07 -07:00
malta.hh SE/FS: Remove System::platform and Platform::intrFrequency. 2011-09-30 00:29:07 -07:00
Malta.py sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
malta_cchip.cc SE/FS: Get rid of FULL_SYSTEM in MIPS. 2011-10-30 18:39:38 -07:00
malta_cchip.hh AddrRange: Transition from Range<T> to AddrRange 2012-09-19 06:15:44 -04:00
malta_io.cc SE/FS: Build the devices in SE mode. 2011-09-30 00:28:33 -07:00
malta_io.hh sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
malta_pchip.cc MEM: Move all read/write blob functions from Port to PortProxy 2012-02-24 11:46:39 -05:00
malta_pchip.hh AddrRange: Transition from Range<T> to AddrRange 2012-09-19 06:15:44 -04:00
maltareg.h Add in files from merge-bare-iron, get them compiling in FS and SE mode 2007-11-13 16:58:16 -05:00
SConscript SE/FS: Build the devices in SE mode. 2011-09-30 00:28:33 -07:00