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
b72270cb
Commit
b72270cb
authored
Jul 09, 2020
by
Huw Davies
Committed by
Alexandre Julliard
Jul 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update some members of KUSER_SHARED_DATA.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
67a840dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
+33
-5
wdm.h
include/ddk/wdm.h
+32
-4
mapping.c
server/mapping.c
+1
-1
No files found.
include/ddk/wdm.h
View file @
b72270cb
...
...
@@ -1246,6 +1246,7 @@ typedef struct _KUSER_SHARED_DATA {
ULONG
SuiteMask
;
/* 0x2d0 */
BOOLEAN
KdDebuggerEnabled
;
/* 0x2d4 */
UCHAR
NXSupportPolicy
;
/* 0x2d5 */
USHORT
CyclesPerYield
;
/* 0x2d6 */
volatile
ULONG
ActiveConsoleId
;
/* 0x2d8 */
volatile
ULONG
DismountCount
;
/* 0x2dc */
ULONG
ComPlusPackage
;
/* 0x2e0 */
...
...
@@ -1253,16 +1254,43 @@ typedef struct _KUSER_SHARED_DATA {
ULONG
NumberOfPhysicalPages
;
/* 0x2e8 */
BOOLEAN
SafeBootMode
;
/* 0x2ec */
UCHAR
VirtualizationFlags
;
/* 0x2ed */
ULONG
TraceLogging
;
/* 0x2f0 */
union
{
ULONG
SharedDataFlags
;
/* 0x2f0 */
struct
{
ULONG
DbgErrorPortPresent
:
1
;
ULONG
DbgElevationEnabed
:
1
;
ULONG
DbgVirtEnabled
:
1
;
ULONG
DbgInstallerDetectEnabled
:
1
;
ULONG
DbgLkgEnabled
:
1
;
ULONG
DbgDynProcessorEnabled
:
1
;
ULONG
DbgConsoleBrokerEnabled
:
1
;
ULONG
DbgSecureBootEnabled
:
1
;
ULONG
DbgMultiSessionSku
:
1
;
ULONG
DbgMultiUsersInSessionSku
:
1
;
ULONG
DbgStateSeparationEnabled
:
1
;
ULONG
SpareBits
:
21
;
}
DUMMYSTRUCTNAME2
;
}
DUMMYUNIONNAME2
;
ULONG
DataFlagsPad
[
1
];
/* 0x2f4 */
ULONGLONG
TestRetInstruction
;
/* 0x2f8 */
ULONG
SystemCall
;
/* 0x300 */
ULONG
SystemCallReturn
;
/* 0x304 */
ULONGLONG
SystemCallPad
[
3
];
/* 0x308 */
LONGLONG
QpcFrequency
;
/* 0x300 */
ULONG
SystemCall
;
/* 0x308 */
union
{
ULONG
AllFlags
;
/* 0x30c */
struct
{
ULONG
Win32Process
:
1
;
ULONG
Sgx2Enclave
:
1
;
ULONG
VbsBasicEnclave
:
1
;
ULONG
SpareBits
:
29
;
}
DUMMYSTRUCTNAME
;
}
UserCetAvailableEnvironments
;
ULONGLONG
SystemCallPad
[
2
];
/* 0x310 */
union
{
volatile
KSYSTEM_TIME
TickCount
;
/* 0x320 */
volatile
ULONG64
TickCountQuad
;
}
DUMMYUNIONNAME
;
ULONG
Cookie
;
/* 0x330 */
ULONG
CookiePad
[
1
];
/* 0x334 */
LONGLONG
ConsoleSessionForegroundProcessId
;
/* 0x338 */
ULONGLONG
TimeUpdateLock
;
/* 0x340 */
ULONGLONG
BaselineSystemTimeQpc
;
/* 0x348 */
...
...
server/mapping.c
View file @
b72270cb
...
...
@@ -967,7 +967,7 @@ struct object *create_user_data_mapping( struct object *root, const struct unico
if
(
ptr
!=
MAP_FAILED
)
{
user_shared_data
=
ptr
;
user_shared_data
->
SystemCall
Pad
[
0
]
=
1
;
user_shared_data
->
SystemCall
=
1
;
}
return
&
mapping
->
obj
;
}
...
...
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