Fri, 18 Jan 2013 17:18:50 +0000
[memory] Emulate main memory read wrap-around
3B1s with 512K or 1MB of base memory have a decoding quirk which causes reads
to 'wrap around'. That is to say, on a 512K machine, reading from addresses 0,
512K, 1024K or 1536K will address the same RAM byte. On a 1MB machine,
addresses 0 and 1024K address the same RAM byte.
Emulating this incorrectly causes P4TEST to report an incorrect amount of
available base RAM.
1 #define VER_COMPILE_DATETIME "@@datetime@@"
2 #define VER_COMPILE_DATE "@@date@@"
3 #define VER_COMPILE_TIME "@@time@@"
4 #define VER_COMPILE_BY "@@whoami@@"
5 #define VER_COMPILE_HOST "@@hostname@@"
6 #define VER_COMPILER "@@compiler@@"
7 #define VER_BUILD_TYPE "@@buildtype@@"
8 #define VER_CFLAGS "@@cflags@@"
10 #define VER_MAJOR @@majorver@@
11 #define VER_MINOR @@minorver@@
12 #define VER_BUILDNUM @@buildnum@@
13 #define VER_EXTRA "@@extraver@@"
14 #define VER_VCSREV "@@vcsstr@@"
16 #define VER_FULLSTR "@@fullverstr@@"