Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Reading X86 MSR : (4 Items)
   
Reading X86 MSR  
Is it possible in QNX to read a X86 model specific register?  I am trying to read the temperature register on a core duo
, and I get a memory fault.  As I have discovered no other way to get CPU temperature in QNX, this seems to be the 
easiest way.

Thank you
Re: Reading X86 MSR  
> Is it possible in QNX to read a X86 model specific register?  

Attached a sample for this.

Hope this helps.
Jeevan
Attachment: Text rdmsr.c 2.03 KB
Re: Reading X86 MSR  
Paul,

Were you able to get this working?   I would like to read the DTS register too.
Re: Reading X86 MSR  
Hey Gary,

maybe my docs are outdated, but I somehow failed to find a DTS MSR in Intel's Software Developer's Manual. Can you 
provide me the appropriate MSR#s? I'd like to try this here myself.

I also did a bit of reworking on the MSR-accessing utility that Jeevan already provided from our pile - find attached 
the updated version.

Thanks,
- Thomas
Attachment: Text msr.c 6.46 KB