fred konrad writes:

> From: KONRAD Frederic <fred.kon...@greensocs.com>
> This introduces a new timer based only on instruction counter and without any
> compensation.

> Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com>
> ---
>  cpus.c                 | 19 ++++++++++++-------
>  include/qemu/timer.h   |  9 ++++++++-
>  qemu-timer.c           |  8 +++++++-
>  stubs/cpu-get-icount.c |  2 +-
>  4 files changed, 28 insertions(+), 10 deletions(-)

> diff --git a/cpus.c b/cpus.c
> index 89f4b26..e646bac 100644
> --- a/cpus.c
> +++ b/cpus.c
> @@ -132,7 +132,7 @@ typedef struct TimersState {
>  static TimersState timers_state;
 
>  /* Return the virtual CPU time, based on the instruction counter.  */
> -static int64_t cpu_get_icount_locked(void)
> +static int64_t cpu_get_icount_locked(int with_bias)
[...]

Nitpick; these should be declared as bool.


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

Reply via email to