|
From: | Heike C. Zimmerer |
Subject: | [Qemu-devel] Re: [patch] option -no-tsc for i386 with speedstep |
Date: | Mon, 25 Apr 2005 19:47:22 +0200 |
User-agent: | Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) |
"Jim C. Brown" <address@hidden> writes: > I just want to point out that your patches break qemu for almost every > platform > other than i386. > [..] > You probably want to do this, because notsc is only declared for the i386 > platform. > > int64_t cpu_get_real_ticks(void) > { > int64_t val; > +#ifdef __i386__ > + if (notsc) { > + return get_clock(); > + } > +#endif > asm volatile ("rdtsc" : "=A" (val)); > return val; > } His patch gets inserted after an '#elif defined(__i386__)' directive (at least the part cited above). - Heike
[Prev in Thread] | Current Thread | [Next in Thread] |