tests: Add a test for privileged instruction interrupts
authorPaul Mackerras <paulus@ozlabs.org>
Tue, 28 Apr 2020 23:09:23 +0000 (09:09 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 29 Apr 2020 00:53:32 +0000 (10:53 +1000)
commit10f4be4309667ba5fa42c52edbe5132607cbdcbb
treec353091ff203df51c94e127783acec367b11f320
parent041d6bef60956849364c1540e7eecb6fdca77497
tests: Add a test for privileged instruction interrupts

This adds a test that tries to execute various privileged instructions
with MSR[PR] = 1.  This also incidentally tests some of the MSR bit
manipulations.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
tests/privileged/Makefile [new file with mode: 0644]
tests/privileged/head.S [new file with mode: 0644]
tests/privileged/powerpc.lds [new file with mode: 0644]
tests/privileged/privileged.c [new file with mode: 0644]
tests/test_privileged.bin [new file with mode: 0755]
tests/test_privileged.console_out [new file with mode: 0644]
tests/update_console_tests