src/version.h.in

Fri, 18 Jan 2013 17:18:50 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 18 Jan 2013 17:18:50 +0000
changeset 129
8b24770dea79
parent 14
7a98c853715e
permissions
-rw-r--r--

[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.

philpem@13 1 #define VER_COMPILE_DATETIME "@@datetime@@"
philpem@14 2 #define VER_COMPILE_DATE "@@date@@"
philpem@14 3 #define VER_COMPILE_TIME "@@time@@"
philpem@14 4 #define VER_COMPILE_BY "@@whoami@@"
philpem@14 5 #define VER_COMPILE_HOST "@@hostname@@"
philpem@14 6 #define VER_COMPILER "@@compiler@@"
philpem@14 7 #define VER_BUILD_TYPE "@@buildtype@@"
philpem@14 8 #define VER_CFLAGS "@@cflags@@"
philpem@0 9
philpem@14 10 #define VER_MAJOR @@majorver@@
philpem@14 11 #define VER_MINOR @@minorver@@
philpem@14 12 #define VER_BUILDNUM @@buildnum@@
philpem@14 13 #define VER_EXTRA "@@extraver@@"
philpem@14 14 #define VER_VCSREV "@@vcsstr@@"
philpem@0 15
philpem@13 16 #define VER_FULLSTR "@@fullverstr@@"
philpem@0 17