On Tue, 21 Nov 2000, Norbert Schulz wrote:
> Why emulating it anyway ? I don't think plex86 makes any sense on
> "none pentium class" PC's (performance!). Therefore the instruction
> could be executed directly. However I'm not sure if a counter reset may
> cause any harm to the (Linux)host.
Dont think you can write to it, but I may be wrong... It prolly uses to
for sleep'ing and caliberating the delay loop (like linux 2.2.18 with
prumpf's patch)
>
> Norbert
>
> -----Original Message-----
> From: Nick Behnken [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 1:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [plex86] CVS updates, QNX partially boots.
>
>
> I was going to ask about RDTSC, because BeOS needs it to boot. My question
> is "Can another thread be used to simulate the RDTSC instruction?"
> Apparently this is a 64 bit counter that increments until it reaches it's
> max value and then starts at zero again. So what is we put a thread in the
> emulator that just incremented a fake RDTSC counter, and then read the
> counter whenever RDTSC is called? Will that work, or will the timing be too
> far off?
>
> Nick
>
>
--
Mark Zealey (aka JALH on irc.openprojects.net: #zealos and many more)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
UL++++$ (GCM/GCS/GS/GM)GUG! dpu? s-:-@ a15! C+++>$ P++$>+++@ L+++>+++++$
!E---? W+++>$ N++@>+ o->+ w--- !M--? !V--? PS- PE--@ !PGP----? r++
!t---?@ !X---? !R- b+ !DI---? e->+++++ h+++*! y-
(www.geekcode.com)