1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-25 03:26:12 +00:00

4 Commits

Author SHA1 Message Date
Paul Mackerras
102b304db7 Merge remote-tracking branch 'remotes/origin/master' 2020-05-06 14:15:22 +10:00
Paul Mackerras
10f4be4309 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>
2020-04-29 10:53:32 +10:00
Michael Neuling
0076f8bf1d XICS test case
Checks interrupt masking and priorities.

Adds to `make test_xics` which is run in `make check` also.

Signed-off-by: Michael Neuling <mikey@neuling.org>
2020-04-23 16:36:49 +10:00
Michael Neuling
9d7df2d507 Add test cases for new exceptions and supervisor state
This adds test cases for:
- sc, illegals and decrementer exceptions
- decrementer overflow
- rfid
- mt/mf sprg0/1 srr0/1
- mtdec
- mtmsrd
- sc

It also adds these test cases to make check/check_light

Signed-off-by: Michael Neuling <mikey@neuling.org>
2020-04-01 12:02:33 +11:00