mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 17:32:32 +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
|
||||
#endif
|
||||
|
||||
#else
|
||||
#else // NTOS_MODE_USER
|
||||
|
||||
//
|
||||
// KPROCESSOR_MODE Type
|
||||
|
@ -401,8 +401,18 @@ typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
|
|||
EndAlternatives
|
||||
} 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 // NTOS_MODE_USER
|
||||
|
||||
//
|
||||
// Thread States
|
||||
//
|
||||
|
|
|
@ -1087,11 +1087,6 @@ typedef struct _NT_TIB64 {
|
|||
ULONG64 Self;
|
||||
} 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_
|
||||
_Function_class_(EXPAND_STACK_CALLOUT)
|
||||
typedef VOID
|
||||
|
@ -1147,6 +1142,16 @@ typedef struct _XSTATE_CONFIGURATION {
|
|||
|
||||
#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 {
|
||||
ULONG TickCountLowDeprecated;
|
||||
ULONG TickCountMultiplier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue