chiark / gitweb /
1.0.6 update: Memory mapping features and stability fixes
authornick.j.sanders <nick.j.sanders@93e54ea4-8218-11de-8aaf-8d8425684b44>
Wed, 9 Jan 2013 09:10:08 +0000 (09:10 +0000)
committernick.j.sanders <nick.j.sanders@93e54ea4-8218-11de-8aaf-8d8425684b44>
Wed, 9 Jan 2013 09:10:08 +0000 (09:10 +0000)
commitef1c9359bc14c3e90ed207c44d9a609d4b8654da
tree9958d89c68422f63f06a3fe2eee863efa93435f8
parent75884d4d5d55df09c56232f460011d5a5d42d547
1.0.6 update: Memory mapping features and stability fixes

Allow mapping of dram chips based on simple memory controllers
Fix memory corruption caused by define include bug on some toolchains

This patch adds a primitive mechanism to map physical addresses to memory
chips/modules in stressapptest. It assumes that the memory controller
uses channel interleaving of equal-sized chunks in a simple round-robin
fashion (like recent Intel chipsets in dual-channel mode seem to do).

The chunk size and the amount of memory channels must be configured on the
command line. In addition, you can supply a comma-separated list of
chip/module names per memory channel, between which the bytes of an
aligned machine word are evenly distributed. If you want to disable
this sub-feature and only detect channel interleaving, you can just
provide only one name per channel.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Add autoconf support for pthread barriers, substituting for POSIX defines.

Signed-off-by: Nick Sanders <nsanders@chromium.org>
configure
configure.ac
src/os.cc
src/os.h
src/sat.cc
src/sat.h
src/worker.cc
src/worker.h