The test program in progs-or32/logger-test.c
defines a memory mapped volatile data structure and then writes to and
reads from each element of that structure.
The source code for the logger test program may be found in
progs-or32/logger-test.c
in the distribution. It
uses the utility functions (progs-or32/utils.c
and progs-or32/utils.h
) and the bootloader
(progs-or32/start.s
).