gem5/src/dev/arm
Koan-Sin Tan 7d4f187700 clang: Enable compiling gem5 using clang 2.9 and 3.0
This patch adds the necessary flags to the SConstruct and SConscript
files for compiling using clang 2.9 and later (on Ubuntu et al and OSX
XCode 4.2), and also cleans up a bunch of compiler warnings found by
clang. Most of the warnings are related to hidden virtual functions,
comparisons with unsigneds >= 0, and if-statements with empty
bodies. A number of mismatches between struct and class are also
fixed. clang 2.8 is not working as it has problems with class names
that occur in multiple namespaces (e.g. Statistics in
kernel_stats.hh).

clang has a bug (http://llvm.org/bugs/show_bug.cgi?id=7247) which
causes confusion between the container std::set and the function
Packet::set, and this is currently addressed by not including the
entire namespace std, but rather selecting e.g. "using std::vector" in
the appropriate places.
2012-01-31 12:05:52 -05:00
..
a9scu.cc ARM: Add snoop control unit device. 2011-05-04 20:38:27 -05:00
a9scu.hh ARM: Add snoop control unit device. 2011-05-04 20:38:27 -05:00
amba_device.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
amba_device.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
amba_fake.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
amba_fake.hh ARM: Add I/O devices for booting linux 2010-08-23 11:18:40 -05:00
gic.cc MEM: Separate queries for snooping and address ranges 2012-01-17 12:55:09 -06:00
gic.hh MEM: Separate queries for snooping and address ranges 2012-01-17 12:55:09 -06:00
kmi.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
kmi.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
pl011.cc fix some build problems from prior changesets 2011-04-20 18:45:03 -07:00
pl011.hh ARM: Change how the AMBA device ID checking is done to make it more generic 2010-08-23 11:18:40 -05:00
pl111.cc clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
pl111.hh clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
realview.cc ARM: Add VExpress_E support with PCIe to gem5 2011-08-19 15:08:08 -05:00
realview.hh ARM: Add VExpress_E support with PCIe to gem5 2011-08-19 15:08:08 -05:00
RealView.py MEM: Removing the default port peer from Python ports 2012-01-17 12:55:09 -06:00
rv_ctrl.cc ARM: Add support for Versatile Express boards 2011-08-19 15:08:08 -05:00
rv_ctrl.hh ARM: Add support for Versatile Express boards 2011-08-19 15:08:08 -05:00
SConscript ARM: Add per-cpu local timers for ARM. 2011-08-19 15:08:05 -05:00
timer_cpulocal.cc ARM: Add per-cpu local timers for ARM. 2011-08-19 15:08:05 -05:00
timer_cpulocal.hh ARM: Add per-cpu local timers for ARM. 2011-08-19 15:08:05 -05:00
timer_sp804.cc ARM: Add support for Versatile Express boards 2011-08-19 15:08:08 -05:00
timer_sp804.hh ARM: Add checkpointing support 2010-11-08 13:58:25 -06:00