[Bug 7876] CPU-Z cannot load cpu-z. sys due to missing ntoskrnl implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 26 12:41:21 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7876


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #10 from Anastasius Focht <focht at gmx.net>  2007-11-26 12:41:20 ---
Hello,

just revisiting this bug because someone added an entry named "GPU-Z" to appdb
with garbage data.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=9862

Seems to be some companion tool to "CPU-Z" to read out GPU related information.
Same issue as CPU-Z: kernel driver doesn't load/run due to unimplemented or
stubbed API.

Attached are some patches which let the CPU/GPU-Z tools load and run the
drivers.
Just to give some directions what is needed.

Though no useful info is returned due to restricted usage of i/o ports,
privileged instruction emulations and some stubbed kernel mode API.
Both tools just show empty property pages.

Basically HAL needs i/o port read/write access like kernel32/winedos in/out
port facility.
Either export kernel32/winedos port access stuff (__wine exports) or factor it
out to its own library (no winedos/vdm).

Other stuff like reading model-specific registers (rdmsr) has to be faked in
some way (retrieving real values restricted to kernel mode only).

Some patches are just current versions of my private PunkBuster patches.

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list