* [Qemu-devel] changing simulated CPU frequency
@ 2006-01-31 9:39 Jonathan ILIAS
0 siblings, 0 replies; only message in thread
From: Jonathan ILIAS @ 2006-01-31 9:39 UTC (permalink / raw)
To: qemu-devel
Hi,
I'm trying to bypass a bug in an old version of RTAI, which does not
work correctly with processors that have a clock greater than 2^31 Hz
(frequency stored in a signed 32 bits integer).
As I cannot use a earlier version and fixing this bug may not be
trivial, I'm looking for a way to reduce the simulated Qemu CPU clock.
I tried to change linux-user/main.c to force the use of the following
version of cpu_get_real_ticks function :
static uint64_t emu_time;
int64_t cpu_get_real_ticks(void)
{
return emu_time++;
}
But Linux in Qemu continues to detect a CPU at 3,4 GHz.
Do you know if there is a way to modify Qemu source to have a lower CPU
clock ?
I hope I've described my problem clearly...
--
Jonathan ILIAS, assistant pédagogique
http://www.eseo.fr/~jilias/
ESEO
4, rue Merlet de la Boulaye
BP 30926 - 49009 ANGERS cedex 01 - FRANCE
tél : 02 41 86 67 57
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-31 9:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 9:39 [Qemu-devel] changing simulated CPU frequency Jonathan ILIAS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).