diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-21 14:43:57 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-24 17:16:29 +0100 |
commit | 5e2c9168f9c92e472f3d0a6087163cf6cf03ddeb (patch) | |
tree | 24d9d7dfdcfb805a0d8f19c70701335ecf47377e /nbd | |
parent | 7a15cc17aef7568dd5e62508846220f93bb375e4 (diff) |
hw/timer/slavio_timer.c: Switch to transaction-based ptimer API
Switch the slavio_timer code away from bottom-half based ptimers to
the new transaction-based ptimer API. This just requires adding
begin/commit calls around the various places that modify the ptimer
state, and using the new ptimer_init() function to create the timer.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191021134357.14266-4-peter.maydell@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions