chiark / gitweb /
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>