aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/translate.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-04-27 10:06:00 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-06 15:27:40 -0700
commit4be4c5b826989bed67a16f6e5b931d8374589c08 (patch)
treec3ac5fc9beab8cb4270920ac08e78a1aa97f4440 /target/xtensa/translate.c
parentda60ecd6d8bf6551a0211714a5abb11711e0222c (diff)
downloadqemu-4be4c5b826989bed67a16f6e5b931d8374589c08.zip
qemu-4be4c5b826989bed67a16f6e5b931d8374589c08.tar.gz
qemu-4be4c5b826989bed67a16f6e5b931d8374589c08.tar.bz2
tests/tcg/xtensa: fix vectors and checks in timer test
Timer test assumes that timer 0 IRQ has level 1 and other timers have higher level IRQs. This assumption is not correct and the levels may be arbitrary. Fix that assumption by providing TIMER*_VECTOR macro and using it for vector selection and by making the check for the timer exception cause conditional. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/translate.c')
0 files changed, 0 insertions, 0 deletions