qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Usinger high resolution timers in simulated device


From: Peter Maydell
Subject: Re: Usinger high resolution timers in simulated device
Date: Sat, 13 Feb 2021 13:59:42 +0000

On Sat, 13 Feb 2021 at 05:07, Weiss, Howard <Howard.Weiss2@hologic.com> 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

[Prev in Thread] Current Thread [Next in Thread]