Add a test to read from all SPRs
authorAnton Blanchard <anton@linux.ibm.com>
Mon, 4 Jan 2021 03:16:06 +0000 (14:16 +1100)
committerMichael Neuling <mikey@neuling.org>
Mon, 8 Feb 2021 09:29:04 +0000 (20:29 +1100)
commitd26a157cd7cadd4c4821bffb7226fd1d7ba807a6
tree4a4004b0f7cc8db4dd6990f68c1834aebcd0238d
parent4c21587c4d0dcd6fdacf742fdd5454823919831e
Add a test to read from all SPRs

Make sure the SPRs are initialized and we can't read X state.

(Mikey: rebased and added console/bin file for testing)

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
tests/spr_read/Makefile [new file with mode: 0644]
tests/spr_read/head.S [new file with mode: 0644]
tests/spr_read/powerpc.lds [new file with mode: 0644]
tests/spr_read/spr_read.c [new file with mode: 0644]
tests/test_spr_read.bin [new file with mode: 0755]
tests/test_spr_read.console_out [new file with mode: 0644]
tests/update_console_tests