qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] add a simple 24mhz clock for the versatile


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] add a simple 24mhz clock for the versatile
Date: Fri, 30 Mar 2007 18:28:55 +0100
User-agent: KMail/1.9.5

> +        uint64_t now = qemu_get_clock(vm_clock);
> +        return (uint32_t)(now*.024);

We should be able to do this without resorting to floating point arithmetic.

Paul




reply via email to

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