Message-ID: <019201c2d1e1$b564e3d0$0600000a@broadpark.no> From: "Gisle Vanem" To: References: <3e489301 DOT sandmann AT clio DOT rice DOT edu> <%v22a.45175$jM5 DOT 113869 AT newsfeeds DOT bigpond DOT com> <3E48F219 DOT 8FB9B40B AT yahoo DOT com> Subject: Re: how to make a Timer Date: Tue, 11 Feb 2003 16:24:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Reply-To: djgpp AT delorie DOT com "Ben Peddell" said: > First, check the existence of cpuid. If it does not exist, then the tsc does > not exist, so go to the normal pit routine. If cpuid does exist, then use it > to determine the existence of the tsc. If it does not exist, then go to the > normal pit routine. If the tsc does exist, then check for the existence of > cr4. If it exists, then check the setting of the tsd (Time Stamp Disable) > bit (bit 2). How should we get value of CR4 under e.g. Windows? AFAICR, it's seems to be virtualised and always returns 0. Gisle V. # rm /bin/laden /bin/laden: Not found