On Sat, 13 Feb 2021 at 05:07, Weiss, Howard <[email protected]> wrote:
> Please point me to an example of a qemu  simulated device which uses timer.h. 
>  Thanks

'git grep' will generally answer this kind of question.
More specifically, you're looking for devices, which live
in hw/, and ones which use timer_new_ns() or timer_init_ns().
hw/timer/npcm7xx_timer.c is a fairly recent one that uses
the more modern style of QEMU device model code.

thanks
-- PMM

Reply via email to