gem5/src/cpu/testers
Andreas Sandberg b904bd5437 sim: Add a system-global option to bypass caches
Virtualized CPUs and the fastmem mode of the atomic CPU require direct
access to physical memory. We currently require caches to be disabled
when using them to prevent chaos. This is not ideal when switching
between hardware virutalized CPUs and other CPU models as it would
require a configuration change on each switch. This changeset
introduces a new version of the atomic memory mode,
'atomic_noncaching', where memory accesses are inserted into the
memory system as atomic accesses, but bypass caches.

To make memory mode tests cleaner, the following methods are added to
the System class:

 * isAtomicMode() -- True if the memory mode is 'atomic' or 'direct'.
 * isTimingMode() -- True if the memory mode is 'timing'.
 * bypassCaches() -- True if caches should be bypassed.

The old getMemoryMode() and setMemoryMode() methods should never be
used from the C++ world anymore.
2013-02-15 17:40:09 -05:00
..
directedtest ruby: modify the directed tester to read/write streams 2012-12-11 10:05:55 -06:00
memtest sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
networktest sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
rubytest ruby: remove calls to g_system_ptr->getTime() 2013-01-17 13:10:12 -06:00
traffic_gen sim: Add a system-global option to bypass caches 2013-02-15 17:40:09 -05:00