gem5/src/base
Gabe Black 86dea86987 base: Fix assigning between identical bitfields.
If two bitfields are of the same type, also implying that they have the same
first and last bit positions, the existing implementation would copy the
entire bitfield. That includes the __data member which is shared among all the
bitfields, effectively overwritting the entire bitunion.

This change also adjusts the write only signed bitfield assignment operator to
be like the unsigned version, using "using" instead of implementing it again
and calling down to the underlying implementation.
2015-01-07 00:31:46 -08:00
..
loader arm: Fix multi-system AArch64 boot w/caches. 2014-10-29 23:18:26 -05:00
stats base: Clean up redundant string functions and use C++11 2014-09-20 17:17:49 -04:00
vnc vnc: Add a conversion function for bgr888. 2014-11-17 01:45:42 -08:00
addr_range.hh misc: Move AddrRangeList from port.hh to addr_range.hh 2014-10-16 05:49:59 -04:00
addr_range_map.hh mem: Add interleaving bits to the address ranges 2013-01-07 13:05:38 -05:00
atomicio.cc types: clean up types, especially signed vs unsigned 2009-06-04 23:21:12 -07:00
atomicio.hh atomicio: provide atomic read and write functions. 2008-09-19 09:42:31 -07:00
barrier.hh sim: simulate with multiple threads and event queues 2013-11-25 11:21:00 -06:00
bigint.cc build: fix compile problems pointed out by gcc 4.4 2009-11-04 16:57:01 -08:00
bigint.hh misc: Another round of static analysis fixups 2014-11-24 09:03:38 -05:00
bitfield.hh arm: Fixes based on UBSan and static analysis 2014-11-14 03:53:51 -05:00
bitmap.cc gcc: Clean-up of non-C++0x compliant code, first steps 2012-03-19 06:36:09 -04:00
bitmap.hh VNC: Add support for capturing frame buffer to file each time it is changed. 2011-12-01 00:15:26 -08:00
bitunion.hh base: Fix assigning between identical bitfields. 2015-01-07 00:31:46 -08:00
callback.cc gcc: Clean-up of non-C++0x compliant code, first steps 2012-03-19 06:36:09 -04:00
callback.hh callback: Make helper functions that create callback objects for you 2010-04-18 13:23:25 -07:00
cast.hh safe_cast: add a new cast function for casts that should always succeed. 2008-11-10 11:51:17 -08:00
chunk_generator.hh misc: Remove assertions ensuring unsigned values >= 0 2014-09-19 10:35:07 -04:00
circlebuf.cc gcc: Add extra parens to quell warnings. 2008-09-27 21:03:49 -07:00
circlebuf.hh Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
compiler.hh base: Add compiler macros for C++11 final/override 2014-08-26 10:13:33 -04:00
condcodes.hh Condition Codes: Fix the findParity function. 2007-09-25 20:26:10 -07:00
cp_annotate.cc base: Transition CP annotate to use shared_ptr 2014-10-16 05:49:47 -04:00
cp_annotate.hh base: Transition CP annotate to use shared_ptr 2014-10-16 05:49:47 -04:00
CPA.py sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
cprintf.cc base: Fix a few incorrectly handled print format cases 2012-11-02 11:32:00 -05:00
cprintf.hh base: Replace the internal varargs stuff with C++11 constructs 2014-08-26 10:13:45 -04:00
cprintf_formats.hh misc: Restore ostream flags where needed 2014-09-19 10:35:09 -04:00
date.cc Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
debug.cc scons: Add warning for missing declarations 2013-02-19 05:56:07 -05:00
debug.hh misc: Fix a number of unitialised variables and members 2014-09-09 04:36:31 -04:00
fenv.c includes: sort all includes 2011-04-15 10:44:06 -07:00
fenv.hh create base/fenv.c to standerdize fenv across platforms. It's a c file and not a cpp file because c99 2007-04-21 17:50:47 -04:00
flags.hh flags: Change naming of functions to be clearer 2008-12-06 14:18:18 -08:00
hashmap.hh scons: Enable build on OSX 2013-09-04 13:22:54 -04:00
hostinfo.cc scons: Add warning for missing declarations 2013-02-19 05:56:07 -05:00
hostinfo.hh scons: Add warning for missing declarations 2013-02-19 05:56:07 -05:00
inet.cc base: fix operator== for comparing EthAddr objects 2014-07-09 09:28:15 -04:00
inet.hh dev: Use shared_ptr for EthPacketData 2014-10-16 05:49:46 -04:00
inifile.cc base: Add getSectionNames to IniFile 2014-09-20 17:17:47 -04:00
inifile.hh base: Add getSectionNames to IniFile 2014-09-20 17:17:47 -04:00
intmath.cc Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
intmath.hh base: Add const to intmath and be more flexible with typing 2014-08-26 10:14:32 -04:00
match.cc style: eliminate equality tests with true and false 2014-05-31 18:00:23 -07:00
match.hh Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
misc.cc base: Replace the internal varargs stuff with C++11 constructs 2014-08-26 10:13:45 -04:00
misc.hh base: misc: Add missing header file. 2014-10-11 15:02:22 -05:00
output.cc misc: Fix a bunch of minor issues identified by static analysis 2014-09-27 09:08:29 -04:00
output.hh mem: Add tracing support in the communication monitor 2013-01-07 13:05:37 -05:00
pollevent.cc sim: EventQueue wakeup on events scheduled outside the event loop 2014-10-16 05:49:53 -04:00
pollevent.hh base: Clean up signal handling 2013-11-29 14:35:36 +01:00
printable.hh Additional comments and helper functions for PrintReq. 2008-01-02 13:46:22 -08:00
random.cc base: Use STL C++11 random number generation 2014-09-03 07:42:55 -04:00
random.hh base: Use STL C++11 random number generation 2014-09-03 07:42:55 -04:00
refcnt.hh refcnt: Update doxygen comments 2011-04-13 09:32:19 -07:00
remote_gdb.cc misc: Generalize GDB single stepping. 2014-12-05 22:37:03 -08:00
remote_gdb.hh misc: Generalize GDB single stepping. 2014-12-05 22:37:03 -08:00
SConscript base: Use STL C++11 random number generation 2014-09-03 07:42:55 -04:00
socket.cc misc: Fix a bunch of minor issues identified by static analysis 2014-09-27 09:08:29 -04:00
socket.hh sockets: Add a function to disable all listening sockets. 2008-08-03 18:19:55 -07:00
statistics.cc base: Fix for stats node on gcc < 4.6.3 2014-10-20 18:03:54 -04:00
statistics.hh base: Fix for stats node on gcc < 4.6.3 2014-10-20 18:03:54 -04:00
stl_helpers.hh clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
str.cc base: Clean up redundant string functions and use C++11 2014-09-20 17:17:49 -04:00
str.hh base: Clean up redundant string functions and use C++11 2014-09-20 17:17:49 -04:00
time.cc base: Revert 9277177eccff and use getenv/setenv for UTC time 2014-11-12 09:05:20 -05:00
time.hh ARM: Add RTC device for ARM platforms. 2012-03-01 17:26:31 -06:00
trace.cc base: Reimplement the DPRINTF mechanism in a Logger class 2014-10-16 05:49:53 -04:00
trace.hh base: Reimplement the DPRINTF mechanism in a Logger class 2014-10-16 05:49:53 -04:00
trie.hh base: Include cassert in trie.hh. 2012-04-22 05:20:44 -07:00
types.cc ruby: replace Time with Cycles in Message class 2013-02-10 21:26:24 -06:00
types.hh arch: Use shared_ptr for all Faults 2014-10-16 05:49:51 -04:00