[kernel/cpu.c] Add processor specific environment variables

Paul Vriens paul.vriens at xs4all.nl
Wed Mar 22 04:43:19 CST 2006


Hi,

this patch adds some registry entries that we will be picked up in the
environment. The environment variables are:

NUMBER_OF_PROCESSORS
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION

Some information is hard-coded, but I'm going to work on making this
dynamic. That will probably mean I need some volunteers to check things on
non-intel and multi-processor machines (more about that in a few days).

I've not added this to create_registry_keys but instead renamed
create_registry_keys to create_system_registry_keys and added
create_env_registry_keys.

Changelog
  Add processor specific environment variables in the registry

Cheers,

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpu.c.diff
Type: text/x-patch
Size: 5350 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060322/1f069a23/cpu.c-0001.diff


More information about the wine-patches mailing list