Roel Schroeven wrote:
> 
> > > I was going to ask about RDTSC, because BeOS needs it to boot.
> 
> Just out of curiosity, is this the instruction that is called by then Win32
> API call QueryPerformanceCounter? And on what platforms is it available?
> MSDN states "Some systems include a high-resolution performance counter that
> provides high-resolution elapsed times." But is doesn't get anymore
> specific, and my search on the web hasn't returned any useful information
> either. Does anybody know this?

Dont' know myself.  But handling RDTSC correctly is a matter of
sampling the real TSC and delivering time to the guest OS
via RDTSC based on the amount of cycles the guest has actually
run, potentially with a clock skew applied.

Which brings up something else.  One nice thing to put into
open source OSes would be calling an interface to the VM
code to handle delay loops.

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to