Re: How to access MSR (CPU's model-secpific register) by Raymond
Raymond
Wed Dec 17 04:31:41 CST 2003
Elias
Thank you for your information.
Can I download Windows DDK wihtout being a MSDN member?
Thank you,
Raymond Tsui
>-----Original Message-----
>AFAIK the only way to do it is to write a simple NT device
driver and the
>define some IOCTL so that you can talk w/ it from your
application.
>
>--
>Elias
>"Raymond" <anonymous@discussions.microsoft.com> wrote in
message
>news:061301c3c44d$0283bde0$a301280a@phx.gbl...
>> Hello all,
>>
>> I am writing a program to control the LongRun performance
>> level of Crusoe processors. I need to write to CPU's MSR.
>>
>> I tried using __asm & WRMSR instrustion, but get
>> "Privileged Instruction" exception. WRMSR is pri. inst.
>> since 386 in protected mode.
>>
>> Could anyone tell me how to read/write CPU's MSR using
>> Visual C++?
>>
>> Thank you in advance :-)
>> Raymond
>
>
>.
>