]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/ptimer-test: Switch to transaction-based ptimer API
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Oct 2019 17:17:22 +0000 (18:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:02 +0000 (18:09 +0100)
commit91b37aea0e3f344aefec4d72faf12cbcac79d64e
tree600d4830b52a8a85f78117dcadcd73d065b2800d
parent78b6eaa6f3ea83d12fa698a7f0ec15a45f802d74
tests/ptimer-test: Switch to transaction-based ptimer API

Convert the ptimer test cases to the transaction-based ptimer API,
by changing to ptimer_init(), dropping the now-unused QEMUBH
variables, and surrounding each set of changes to the ptimer
state in ptimer_transaction_begin/commit calls.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-4-peter.maydell@linaro.org
tests/ptimer-test.c