mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 13:21:39 +00:00
[SDK:NDK] Add the NX_SUPPORT_* flags for the SharedUserData.NXSupportPolicy member. (#4111)
And move those in the XDK to a better place, adding versioning as well.
This commit is contained in:
parent
75d33bf148
commit
0889182d66
2 changed files with 21 additions and 6 deletions
|
@ -209,7 +209,7 @@ typedef struct _FIBER /* Field offsets: */
|
||||||
#define DISPATCH_LENGTH 106
|
#define DISPATCH_LENGTH 106
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else // NTOS_MODE_USER
|
||||||
|
|
||||||
//
|
//
|
||||||
// KPROCESSOR_MODE Type
|
// KPROCESSOR_MODE Type
|
||||||
|
@ -401,8 +401,18 @@ typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
|
||||||
EndAlternatives
|
EndAlternatives
|
||||||
} ALTERNATIVE_ARCHITECTURE_TYPE;
|
} ALTERNATIVE_ARCHITECTURE_TYPE;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Flags for NXSupportPolicy
|
||||||
|
//
|
||||||
|
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
|
||||||
|
#define NX_SUPPORT_POLICY_ALWAYSOFF 0
|
||||||
|
#define NX_SUPPORT_POLICY_ALWAYSON 1
|
||||||
|
#define NX_SUPPORT_POLICY_OPTIN 2
|
||||||
|
#define NX_SUPPORT_POLICY_OPTOUT 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // NTOS_MODE_USER
|
||||||
|
|
||||||
//
|
//
|
||||||
// Thread States
|
// Thread States
|
||||||
//
|
//
|
||||||
|
|
|
@ -1087,11 +1087,6 @@ typedef struct _NT_TIB64 {
|
||||||
ULONG64 Self;
|
ULONG64 Self;
|
||||||
} NT_TIB64,*PNT_TIB64;
|
} NT_TIB64,*PNT_TIB64;
|
||||||
|
|
||||||
#define NX_SUPPORT_POLICY_ALWAYSOFF 0
|
|
||||||
#define NX_SUPPORT_POLICY_ALWAYSON 1
|
|
||||||
#define NX_SUPPORT_POLICY_OPTIN 2
|
|
||||||
#define NX_SUPPORT_POLICY_OPTOUT 3
|
|
||||||
|
|
||||||
_IRQL_requires_same_
|
_IRQL_requires_same_
|
||||||
_Function_class_(EXPAND_STACK_CALLOUT)
|
_Function_class_(EXPAND_STACK_CALLOUT)
|
||||||
typedef VOID
|
typedef VOID
|
||||||
|
@ -1147,6 +1142,16 @@ typedef struct _XSTATE_CONFIGURATION {
|
||||||
|
|
||||||
#define MAX_WOW64_SHARED_ENTRIES 16
|
#define MAX_WOW64_SHARED_ENTRIES 16
|
||||||
|
|
||||||
|
//
|
||||||
|
// Flags for NXSupportPolicy
|
||||||
|
//
|
||||||
|
#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
|
||||||
|
#define NX_SUPPORT_POLICY_ALWAYSOFF 0
|
||||||
|
#define NX_SUPPORT_POLICY_ALWAYSON 1
|
||||||
|
#define NX_SUPPORT_POLICY_OPTIN 2
|
||||||
|
#define NX_SUPPORT_POLICY_OPTOUT 3
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _KUSER_SHARED_DATA {
|
typedef struct _KUSER_SHARED_DATA {
|
||||||
ULONG TickCountLowDeprecated;
|
ULONG TickCountLowDeprecated;
|
||||||
ULONG TickCountMultiplier;
|
ULONG TickCountMultiplier;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue