diff options
author | Max Filippov | 2022-04-27 19:06:00 +0200 |
---|---|---|
committer | Max Filippov | 2022-05-07 00:27:40 +0200 |
commit | 4be4c5b826989bed67a16f6e5b931d8374589c08 (patch) | |
tree | c3ac5fc9beab8cb4270920ac08e78a1aa97f4440 /hw/hppa/dino.c | |
parent | tests/tcg/xtensa: enable mmu tests for MMUv3 (diff) | |
download | qemu-4be4c5b826989bed67a16f6e5b931d8374589c08.tar.gz qemu-4be4c5b826989bed67a16f6e5b931d8374589c08.tar.xz qemu-4be4c5b826989bed67a16f6e5b931d8374589c08.zip |
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 'hw/hppa/dino.c')
0 files changed, 0 insertions, 0 deletions