Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
21d6086c
Commit
21d6086c
authored
Aug 03, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix the field names of KUSER_SHARED_DATA and update it.
parent
19edb436
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
version.c
dlls/ntdll/version.c
+2
-3
wdm.h
include/ddk/wdm.h
+18
-6
No files found.
dlls/ntdll/version.c
View file @
21d6086c
...
...
@@ -531,9 +531,8 @@ done:
user_shared_data
->
NtProductType
=
current_version
->
wProductType
;
user_shared_data
->
ProductTypeIsValid
=
TRUE
;
user_shared_data
->
MajorNtVersion
=
current_version
->
dwMajorVersion
;
user_shared_data
->
MinorNtVersion
=
current_version
->
dwMinorVersion
;
user_shared_data
->
MinorNtVersion
=
current_version
->
dwMinorVersion
;
user_shared_data
->
NtMajorVersion
=
current_version
->
dwMajorVersion
;
user_shared_data
->
NtMinorVersion
=
current_version
->
dwMinorVersion
;
user_shared_data
->
SuiteMask
=
current_version
->
wSuiteMask
;
TRACE
(
"got %d.%d platform %d build %x name %s service pack %d.%d product %d
\n
"
,
...
...
include/ddk/wdm.h
View file @
21d6086c
...
...
@@ -994,6 +994,13 @@ typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
EndAlternatives
}
ALTERNATIVE_ARCHITECTURE_TYPE
;
#define NX_SUPPORT_POLICY_ALWAYSOFF 0
#define NX_SUPPORT_POLICY_ALWAYSON 1
#define NX_SUPPORT_POLICY_OPTIN 2
#define NX_SUPPORT_POLICY_OPTOUT 3
#define MAX_WOW64_SHARED_ENTRIES 16
typedef
struct
_KUSER_SHARED_DATA
{
ULONG
TickCountLowDeprecated
;
ULONG
TickCountMultiplier
;
...
...
@@ -1003,15 +1010,15 @@ typedef struct _KUSER_SHARED_DATA {
USHORT
ImageNumberLow
;
USHORT
ImageNumberHigh
;
WCHAR
NtSystemRoot
[
260
];
ULONG
MaxStckTraceDepth
;
ULONG
MaxSt
a
ckTraceDepth
;
ULONG
CryptoExponent
;
ULONG
TimeZoneId
;
ULONG
LargePageMinimum
;
ULONG
Reserve
r
d2
[
7
];
ULONG
Reserved2
[
7
];
NT_PRODUCT_TYPE
NtProductType
;
BOOLEAN
ProductTypeIsValid
;
ULONG
MajorNt
Version
;
ULONG
MinorNt
Version
;
ULONG
NtMajor
Version
;
ULONG
NtMinor
Version
;
BOOLEAN
ProcessorFeatures
[
PROCESSOR_FEATURE_MAX
];
ULONG
Reserved1
;
ULONG
Reserved3
;
...
...
@@ -1020,6 +1027,7 @@ typedef struct _KUSER_SHARED_DATA {
LARGE_INTEGER
SystemExpirationDate
;
ULONG
SuiteMask
;
BOOLEAN
KdDebuggerEnabled
;
UCHAR
NXSupportPolicy
;
volatile
ULONG
ActiveConsoleId
;
volatile
ULONG
DismountCount
;
ULONG
ComPlusPackage
;
...
...
@@ -1027,12 +1035,16 @@ typedef struct _KUSER_SHARED_DATA {
ULONG
NumberOfPhysicalPages
;
BOOLEAN
SafeBootMode
;
ULONG
TraceLogging
;
ULONGLONG
Fill0
;
ULONGLONG
SystemCall
[
4
];
ULONGLONG
TestRetInstruction
;
ULONG
SystemCall
;
ULONG
SystemCallReturn
;
ULONGLONG
SystemCallPad
[
3
];
union
{
volatile
KSYSTEM_TIME
TickCount
;
volatile
ULONG64
TickCountQuad
;
}
DUMMYUNIONNAME
;
ULONG
Cookie
;
ULONG
Wow64SharedInformation
[
MAX_WOW64_SHARED_ENTRIES
];
}
KSHARED_USER_DATA
,
*
PKSHARED_USER_DATA
;
typedef
enum
_MEMORY_CACHING_TYPE
{
...
...
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