]> Git Repo - qemu.git/commit - hw/timer/altera_timer.c
hw/timer/altera_timer.c: Switch to transaction-based ptimer API
authorPeter Maydell <[email protected]>
Tue, 22 Oct 2019 15:50:36 +0000 (16:50 +0100)
committerPeter Maydell <[email protected]>
Tue, 22 Oct 2019 16:44:00 +0000 (17:44 +0100)
commit23bc3e3e49818e038f09e05bc3912f3f4ff80f84
tree6e469e3479a0b86895ad4d41aedae07cf9e0945a
parentb360a65cf9936bb3ef0e8e94efa553e03081a7b4
hw/timer/altera_timer.c: Switch to transaction-based ptimer API

Switch the altera_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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20191017132905[email protected]
hw/timer/altera_timer.c
This page took 0.025415 seconds and 4 git commands to generate.