Einzelnen Beitrag anzeigen

Razor
(Gast)

n/a Beiträge
 
#32

Re: openlibsys.org Open source driver

  Alt 7. Mai 2008, 18:38
this dosent matter now first we need to make it working for 1 core then threads and multithreading comes in hand...got it?
Should i upload the driver so you can test it?
Delphi-Quellcode:
 procedure InitializeDll(); stdcall; external 'WinRing0.dll';
  procedure DeinitializeDll(); stdcall; external 'WinRing0.dll';
  function Rdmsr(index:DWORD;eax:DWORD;edx:DWORD): DWord; stdcall; external 'WinRing0.dll';


Zitat:
Rdmsr
This function executes "RDMSR" (Opcode : 0F 32) instruction.

"RDMSR" : Loads the contents of a 64-bit model specific register (MSR) specified in an index register into registers EDX:EAX.

Syntax
BOOL Rdmsr(
DWORD index,
PDWORD eax,
PDWORD edx
);Parameters
index
[in] MSR index
eax
[out] value of EAX register (bit 31- 0)
edx
[out] value of EDX register (bit 63-32)
Return Values
If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks
You can check whether "RDMSR" instruction is supported on your system with IsMsr.
Angehängte Dateien
Dateityp: rar driver_449.rar (36,3 KB, 77x aufgerufen)
  Mit Zitat antworten Zitat