Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0c882056
Commit
0c882056
authored
Dec 27, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineboot: Set the FeatureSet value in the volatile CPU registry keys.
parent
f8afae75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wineboot.c
programs/wineboot/wineboot.c
+2
-0
No files found.
programs/wineboot/wineboot.c
View file @
0c882056
...
@@ -173,6 +173,7 @@ static void create_hardware_registry_keys(void)
...
@@ -173,6 +173,7 @@ static void create_hardware_registry_keys(void)
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
const
WCHAR
fpuW
[]
=
{
'F'
,
'l'
,
'o'
,
'a'
,
't'
,
'i'
,
'n'
,
'g'
,
'P'
,
'o'
,
'i'
,
'n'
,
't'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
fpuW
[]
=
{
'F'
,
'l'
,
'o'
,
'a'
,
't'
,
'i'
,
'n'
,
'g'
,
'P'
,
'o'
,
'i'
,
'n'
,
't'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
cpuW
[]
=
{
'C'
,
'e'
,
'n'
,
't'
,
'r'
,
'a'
,
'l'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
cpuW
[]
=
{
'C'
,
'e'
,
'n'
,
't'
,
'r'
,
'a'
,
'l'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
FeatureSetW
[]
=
{
'F'
,
'e'
,
'a'
,
't'
,
'u'
,
'r'
,
'e'
,
'S'
,
'e'
,
't'
,
0
};
static
const
WCHAR
IdentifierW
[]
=
{
'I'
,
'd'
,
'e'
,
'n'
,
't'
,
'i'
,
'f'
,
'i'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
IdentifierW
[]
=
{
'I'
,
'd'
,
'e'
,
'n'
,
't'
,
'i'
,
'f'
,
'i'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
SysidW
[]
=
{
'A'
,
'T'
,
' '
,
'c'
,
'o'
,
'm'
,
'p'
,
'a'
,
't'
,
'i'
,
'b'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
SysidW
[]
=
{
'A'
,
'T'
,
' '
,
'c'
,
'o'
,
'm'
,
'p'
,
'a'
,
't'
,
'i'
,
'b'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
mhzKeyW
[]
=
{
'~'
,
'M'
,
'H'
,
'z'
,
0
};
static
const
WCHAR
mhzKeyW
[]
=
{
'~'
,
'M'
,
'H'
,
'z'
,
0
};
...
@@ -216,6 +217,7 @@ static void create_hardware_registry_keys(void)
...
@@ -216,6 +217,7 @@ static void create_hardware_registry_keys(void)
if
(
!
RegCreateKeyExW
(
cpu_key
,
numW
,
0
,
NULL
,
REG_OPTION_VOLATILE
,
if
(
!
RegCreateKeyExW
(
cpu_key
,
numW
,
0
,
NULL
,
REG_OPTION_VOLATILE
,
KEY_ALL_ACCESS
,
NULL
,
&
hkey
,
NULL
))
KEY_ALL_ACCESS
,
NULL
,
&
hkey
,
NULL
))
{
{
RegSetValueExW
(
hkey
,
FeatureSetW
,
0
,
REG_DWORD
,
(
BYTE
*
)
&
sci
.
FeatureSet
,
sizeof
(
DWORD
)
);
set_reg_value
(
hkey
,
IdentifierW
,
idW
);
set_reg_value
(
hkey
,
IdentifierW
,
idW
);
/*TODO; report amd's properly*/
/*TODO; report amd's properly*/
set_reg_value
(
hkey
,
VendorIdentifierW
,
VenidIntelW
);
set_reg_value
(
hkey
,
VendorIdentifierW
,
VenidIntelW
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment