read msr register?....rdmsr

Hi,
I need to read info from the msr registers [model-specific registers].
The command in asm is RDMSR.Now The problem is that i am trying to issue a
Ring 0 instruction from Ring 3, and that give me a GP(#0) fault.

the algorithm on a high level to achieve the required functionality:

  1. Create Ring 0 driver that calls RDMSR
  2. Output MSR information to a file
  3. Read file
  4. Parse the information out.

To perform step 1:
i need to Create a Dll or Sys file
Load into Registry.

i am new with ddk, can some one help me with that?//////
my e-mail is:
xxxxx@hotmail.com.
thank’s.