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
c6f2ef3d
Commit
c6f2ef3d
authored
Nov 24, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move XSTATE definitions to winnt.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d2452b57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
47 deletions
+42
-47
wdm.h
include/ddk/wdm.h
+0
-47
winnt.h
include/winnt.h
+28
-0
winternl.h
include/winternl.h
+14
-0
No files found.
include/ddk/wdm.h
View file @
c6f2ef3d
...
...
@@ -1194,39 +1194,6 @@ typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
#define NX_SUPPORT_POLICY_OPTIN 2
#define NX_SUPPORT_POLICY_OPTOUT 3
#define XSTATE_LEGACY_FLOATING_POINT 0
#define XSTATE_LEGACY_SSE 1
#define XSTATE_GSSE 2
#define XSTATE_MASK_LEGACY_FLOATING_POINT (1 << XSTATE_LEGACY_FLOATING_POINT)
#define XSTATE_MASK_LEGACY_SSE (1 << XSTATE_LEGACY_SSE)
#define XSTATE_MASK_LEGACY (XSTATE_MASK_LEGACY_FLOATING_POINT | XSTATE_MASK_LEGACY_SSE)
#define XSTATE_MASK_GSSE (1 << XSTATE_GSSE)
#define MAXIMUM_XSTATE_FEATURES 64
typedef
struct
_XSTATE_FEATURE
{
ULONG
Offset
;
ULONG
Size
;
}
XSTATE_FEATURE
,
*
PXSTATE_FEATURE
;
typedef
struct
_XSTATE_CONFIGURATION
{
ULONG64
EnabledFeatures
;
ULONG64
EnabledVolatileFeatures
;
ULONG
Size
;
ULONG
OptimizedSave
:
1
;
ULONG
CompactionEnabled
:
1
;
XSTATE_FEATURE
Features
[
MAXIMUM_XSTATE_FEATURES
];
ULONG64
EnabledSupervisorFeatures
;
ULONG64
AlignedFeatures
;
ULONG
AllFeatureSize
;
ULONG
AllFeatures
[
MAXIMUM_XSTATE_FEATURES
];
ULONG64
EnabledUserVisibleSupervisorFeatures
;
}
XSTATE_CONFIGURATION
,
*
PXSTATE_CONFIGURATION
;
typedef
struct
_KUSER_SHARED_DATA
{
ULONG
TickCountLowDeprecated
;
/* 0x000 */
ULONG
TickCountMultiplier
;
/* 0x004 */
...
...
@@ -1836,20 +1803,6 @@ HANDLE WINAPI PsGetProcessInheritedFromUniqueProcessId(PEPROCESS);
BOOLEAN
WINAPI
PsGetVersion
(
ULONG
*
,
ULONG
*
,
ULONG
*
,
UNICODE_STRING
*
);
NTSTATUS
WINAPI
PsTerminateSystemThread
(
NTSTATUS
);
#if defined(__x86_64__) || defined(__i386__)
NTSTATUS
WINAPI
RtlCopyExtendedContext
(
CONTEXT_EX
*
,
ULONG
,
CONTEXT_EX
*
);
NTSTATUS
WINAPI
RtlInitializeExtendedContext
(
void
*
,
ULONG
,
CONTEXT_EX
**
);
NTSTATUS
WINAPI
RtlInitializeExtendedContext2
(
void
*
,
ULONG
,
CONTEXT_EX
**
,
ULONG64
);
ULONG64
WINAPI
RtlGetEnabledExtendedFeatures
(
ULONG64
);
NTSTATUS
WINAPI
RtlGetExtendedContextLength
(
ULONG
,
ULONG
*
);
NTSTATUS
WINAPI
RtlGetExtendedContextLength2
(
ULONG
,
ULONG
*
,
ULONG64
);
void
*
WINAPI
RtlLocateLegacyContext
(
CONTEXT_EX
*
,
ULONG
*
);
void
*
WINAPI
RtlLocateExtendedFeature
(
CONTEXT_EX
*
,
ULONG
,
ULONG
*
);
void
*
WINAPI
RtlLocateExtendedFeature2
(
CONTEXT_EX
*
,
ULONG
,
XSTATE_CONFIGURATION
*
,
ULONG
*
);
ULONG64
WINAPI
RtlGetExtendedFeaturesMask
(
CONTEXT_EX
*
);
void
WINAPI
RtlSetExtendedFeaturesMask
(
CONTEXT_EX
*
,
ULONG64
);
#endif
#ifdef __x86_64__
void
WINAPI
RtlCopyMemoryNonTemporal
(
void
*
,
const
void
*
,
SIZE_T
);
#else
...
...
include/winnt.h
View file @
c6f2ef3d
...
...
@@ -1338,6 +1338,34 @@ NTSYSAPI PVOID WINAPI RtlVirtualUnwind(ULONG,ULONG64,ULONG64,RUNTIME_FUNCTION*,C
#define XSTATE_IPT 8
#define XSTATE_CET_U 11
#define XSTATE_LWP 62
#define MAXIMUM_XSTATE_FEATURES 64
#define XSTATE_MASK_LEGACY_FLOATING_POINT (1 << XSTATE_LEGACY_FLOATING_POINT)
#define XSTATE_MASK_LEGACY_SSE (1 << XSTATE_LEGACY_SSE)
#define XSTATE_MASK_LEGACY (XSTATE_MASK_LEGACY_FLOATING_POINT | XSTATE_MASK_LEGACY_SSE)
#define XSTATE_MASK_GSSE (1 << XSTATE_GSSE)
typedef
struct
_XSTATE_FEATURE
{
ULONG
Offset
;
ULONG
Size
;
}
XSTATE_FEATURE
,
*
PXSTATE_FEATURE
;
typedef
struct
_XSTATE_CONFIGURATION
{
ULONG64
EnabledFeatures
;
ULONG64
EnabledVolatileFeatures
;
ULONG
Size
;
ULONG
OptimizedSave
:
1
;
ULONG
CompactionEnabled
:
1
;
XSTATE_FEATURE
Features
[
MAXIMUM_XSTATE_FEATURES
];
ULONG64
EnabledSupervisorFeatures
;
ULONG64
AlignedFeatures
;
ULONG
AllFeatureSize
;
ULONG
AllFeatures
[
MAXIMUM_XSTATE_FEATURES
];
ULONG64
EnabledUserVisibleSupervisorFeatures
;
}
XSTATE_CONFIGURATION
,
*
PXSTATE_CONFIGURATION
;
typedef
struct
_YMMCONTEXT
{
...
...
include/winternl.h
View file @
c6f2ef3d
...
...
@@ -3660,6 +3660,20 @@ NTSYSAPI NTSTATUS WINAPI RtlpUnWaitCriticalSection(RTL_CRITICAL_SECTION *);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintEx
(
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintExWithPrefix
(
LPCSTR
,
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
#if defined(__x86_64__) || defined(__i386__)
NTSYSAPI
NTSTATUS
WINAPI
RtlCopyExtendedContext
(
CONTEXT_EX
*
,
ULONG
,
CONTEXT_EX
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlInitializeExtendedContext
(
void
*
,
ULONG
,
CONTEXT_EX
**
);
NTSYSAPI
NTSTATUS
WINAPI
RtlInitializeExtendedContext2
(
void
*
,
ULONG
,
CONTEXT_EX
**
,
ULONG64
);
NTSYSAPI
ULONG64
WINAPI
RtlGetEnabledExtendedFeatures
(
ULONG64
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetExtendedContextLength
(
ULONG
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetExtendedContextLength2
(
ULONG
,
ULONG
*
,
ULONG64
);
NTSYSAPI
void
*
WINAPI
RtlLocateLegacyContext
(
CONTEXT_EX
*
,
ULONG
*
);
NTSYSAPI
void
*
WINAPI
RtlLocateExtendedFeature
(
CONTEXT_EX
*
,
ULONG
,
ULONG
*
);
NTSYSAPI
void
*
WINAPI
RtlLocateExtendedFeature2
(
CONTEXT_EX
*
,
ULONG
,
XSTATE_CONFIGURATION
*
,
ULONG
*
);
NTSYSAPI
ULONG64
WINAPI
RtlGetExtendedFeaturesMask
(
CONTEXT_EX
*
);
NTSYSAPI
void
WINAPI
RtlSetExtendedFeaturesMask
(
CONTEXT_EX
*
,
ULONG64
);
#endif
NTSYSAPI
int
__cdecl
_strnicmp
(
LPCSTR
,
LPCSTR
,
size_t
);
/* 32-bit only functions */
...
...
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