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
a441935c
Commit
a441935c
authored
Mar 30, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Better default for dwActiveProcessorMask in GetSystemInfo.
parent
f3960b22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
cpu.c
dlls/kernel32/cpu.c
+4
-1
No files found.
dlls/kernel32/cpu.c
View file @
a441935c
...
@@ -385,7 +385,7 @@ VOID WINAPI GetSystemInfo(
...
@@ -385,7 +385,7 @@ VOID WINAPI GetSystemInfo(
/* FIXME: the two entries below should be computed somehow... */
/* FIXME: the two entries below should be computed somehow... */
cachedsi
.
lpMinimumApplicationAddress
=
(
void
*
)
0x00010000
;
cachedsi
.
lpMinimumApplicationAddress
=
(
void
*
)
0x00010000
;
cachedsi
.
lpMaximumApplicationAddress
=
(
void
*
)
0x7FFEFFFF
;
cachedsi
.
lpMaximumApplicationAddress
=
(
void
*
)
0x7FFEFFFF
;
cachedsi
.
dwActiveProcessorMask
=
1
;
cachedsi
.
dwActiveProcessorMask
=
0
;
cachedsi
.
dwNumberOfProcessors
=
1
;
cachedsi
.
dwNumberOfProcessors
=
1
;
cachedsi
.
dwProcessorType
=
PROCESSOR_INTEL_PENTIUM
;
cachedsi
.
dwProcessorType
=
PROCESSOR_INTEL_PENTIUM
;
cachedsi
.
dwAllocationGranularity
=
0x10000
;
cachedsi
.
dwAllocationGranularity
=
0x10000
;
...
@@ -785,6 +785,9 @@ VOID WINAPI GetSystemInfo(
...
@@ -785,6 +785,9 @@ VOID WINAPI GetSystemInfo(
#else
#else
FIXME
(
"not yet supported on this system
\n
"
);
FIXME
(
"not yet supported on this system
\n
"
);
#endif
#endif
if
(
!
cachedsi
.
dwActiveProcessorMask
)
cachedsi
.
dwActiveProcessorMask
=
(
1
<<
cachedsi
.
dwNumberOfProcessors
)
-
1
;
memcpy
(
si
,
&
cachedsi
,
sizeof
(
*
si
));
memcpy
(
si
,
&
cachedsi
,
sizeof
(
*
si
));
TRACE
(
"<- CPU arch %d, res'd %d, pagesize %d, minappaddr %p, maxappaddr %p,"
TRACE
(
"<- CPU arch %d, res'd %d, pagesize %d, minappaddr %p, maxappaddr %p,"
...
...
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