include: Update the KUSER_SHARED_DATA structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c42b415fab
commit
db88a3ec5a
|
@ -1170,52 +1170,107 @@ typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
|
||||||
#define NX_SUPPORT_POLICY_OPTIN 2
|
#define NX_SUPPORT_POLICY_OPTIN 2
|
||||||
#define NX_SUPPORT_POLICY_OPTOUT 3
|
#define NX_SUPPORT_POLICY_OPTOUT 3
|
||||||
|
|
||||||
#define MAX_WOW64_SHARED_ENTRIES 16
|
#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;
|
||||||
|
ULONG Size;
|
||||||
|
ULONG OptimizedSave:1;
|
||||||
|
XSTATE_FEATURE Features[MAXIMUM_XSTATE_FEATURES];
|
||||||
|
} XSTATE_CONFIGURATION, *PXSTATE_CONFIGURATION;
|
||||||
|
|
||||||
typedef struct _KUSER_SHARED_DATA {
|
typedef struct _KUSER_SHARED_DATA {
|
||||||
ULONG TickCountLowDeprecated;
|
ULONG TickCountLowDeprecated; /* 0x000 */
|
||||||
ULONG TickCountMultiplier;
|
ULONG TickCountMultiplier; /* 0x004 */
|
||||||
volatile KSYSTEM_TIME InterruptTime;
|
volatile KSYSTEM_TIME InterruptTime; /* 0x008 */
|
||||||
volatile KSYSTEM_TIME SystemTime;
|
volatile KSYSTEM_TIME SystemTime; /* 0x014 */
|
||||||
volatile KSYSTEM_TIME TimeZoneBias;
|
volatile KSYSTEM_TIME TimeZoneBias; /* 0x020 */
|
||||||
USHORT ImageNumberLow;
|
USHORT ImageNumberLow; /* 0x02c */
|
||||||
USHORT ImageNumberHigh;
|
USHORT ImageNumberHigh; /* 0x02e */
|
||||||
WCHAR NtSystemRoot[260];
|
WCHAR NtSystemRoot[260]; /* 0x030 */
|
||||||
ULONG MaxStackTraceDepth;
|
ULONG MaxStackTraceDepth; /* 0x238 */
|
||||||
ULONG CryptoExponent;
|
ULONG CryptoExponent; /* 0x23c */
|
||||||
ULONG TimeZoneId;
|
ULONG TimeZoneId; /* 0x240 */
|
||||||
ULONG LargePageMinimum;
|
ULONG LargePageMinimum; /* 0x244 */
|
||||||
ULONG Reserved2[7];
|
ULONG AitSamplingValue; /* 0x248 */
|
||||||
NT_PRODUCT_TYPE NtProductType;
|
ULONG AppCompatFlag; /* 0x24c */
|
||||||
BOOLEAN ProductTypeIsValid;
|
ULONGLONG RNGSeedVersion; /* 0x250 */
|
||||||
ULONG NtMajorVersion;
|
ULONG GlobalValidationRunLevel; /* 0x258 */
|
||||||
ULONG NtMinorVersion;
|
volatile ULONG TimeZoneBiasStamp; /* 0x25c */
|
||||||
BOOLEAN ProcessorFeatures[PROCESSOR_FEATURE_MAX];
|
ULONG NtBuildNumber; /* 0x260 */
|
||||||
ULONG Reserved1;
|
NT_PRODUCT_TYPE NtProductType; /* 0x264 */
|
||||||
ULONG Reserved3;
|
BOOLEAN ProductTypeIsValid; /* 0x268 */
|
||||||
volatile ULONG TimeSlip;
|
USHORT NativeProcessorArchitecture; /* 0x26a */
|
||||||
ALTERNATIVE_ARCHITECTURE_TYPE AlternativeArchitecture;
|
ULONG NtMajorVersion; /* 0x26c */
|
||||||
LARGE_INTEGER SystemExpirationDate;
|
ULONG NtMinorVersion; /* 0x270 */
|
||||||
ULONG SuiteMask;
|
BOOLEAN ProcessorFeatures[PROCESSOR_FEATURE_MAX]; /* 0x274 */
|
||||||
BOOLEAN KdDebuggerEnabled;
|
ULONG Reserved1; /* 0x2b4 */
|
||||||
UCHAR NXSupportPolicy;
|
ULONG Reserved3; /* 0x2b8 */
|
||||||
volatile ULONG ActiveConsoleId;
|
volatile ULONG TimeSlip; /* 0x2bc */
|
||||||
volatile ULONG DismountCount;
|
ALTERNATIVE_ARCHITECTURE_TYPE AlternativeArchitecture; /* 0x2c0 */
|
||||||
ULONG ComPlusPackage;
|
ULONG BootId; /* 0x2c4 */
|
||||||
ULONG LastSystemRITEventTickCount;
|
LARGE_INTEGER SystemExpirationDate; /* 0x2c8 */
|
||||||
ULONG NumberOfPhysicalPages;
|
ULONG SuiteMask; /* 0x2d0 */
|
||||||
BOOLEAN SafeBootMode;
|
BOOLEAN KdDebuggerEnabled; /* 0x2d4 */
|
||||||
ULONG TraceLogging;
|
UCHAR NXSupportPolicy; /* 0x2d5 */
|
||||||
ULONGLONG TestRetInstruction;
|
volatile ULONG ActiveConsoleId; /* 0x2d8 */
|
||||||
ULONG SystemCall;
|
volatile ULONG DismountCount; /* 0x2dc */
|
||||||
ULONG SystemCallReturn;
|
ULONG ComPlusPackage; /* 0x2e0 */
|
||||||
ULONGLONG SystemCallPad[3];
|
ULONG LastSystemRITEventTickCount; /* 0x2e4 */
|
||||||
|
ULONG NumberOfPhysicalPages; /* 0x2e8 */
|
||||||
|
BOOLEAN SafeBootMode; /* 0x2ec */
|
||||||
|
UCHAR VirtualizationFlags; /* 0x2ed */
|
||||||
|
ULONG TraceLogging; /* 0x2f0 */
|
||||||
|
ULONGLONG TestRetInstruction; /* 0x2f8 */
|
||||||
|
ULONG SystemCall; /* 0x300 */
|
||||||
|
ULONG SystemCallReturn; /* 0x304 */
|
||||||
|
ULONGLONG SystemCallPad[3]; /* 0x308 */
|
||||||
union {
|
union {
|
||||||
volatile KSYSTEM_TIME TickCount;
|
volatile KSYSTEM_TIME TickCount; /* 0x320 */
|
||||||
volatile ULONG64 TickCountQuad;
|
volatile ULONG64 TickCountQuad;
|
||||||
} DUMMYUNIONNAME;
|
} DUMMYUNIONNAME;
|
||||||
ULONG Cookie;
|
ULONG Cookie; /* 0x330 */
|
||||||
ULONG Wow64SharedInformation[MAX_WOW64_SHARED_ENTRIES];
|
LONGLONG ConsoleSessionForegroundProcessId; /* 0x338 */
|
||||||
|
ULONGLONG TimeUpdateLock; /* 0x340 */
|
||||||
|
ULONGLONG BaselineSystemTimeQpc; /* 0x348 */
|
||||||
|
ULONGLONG BaselineInterruptTimeQpc; /* 0x350 */
|
||||||
|
ULONGLONG QpcSystemTimeIncrement; /* 0x358 */
|
||||||
|
ULONGLONG QpcInterruptTimeIncrement; /* 0x360 */
|
||||||
|
UCHAR QpcSystemTimeIncrementShift; /* 0x368 */
|
||||||
|
UCHAR QpcInterruptTimeIncrementShift; /* 0x369 */
|
||||||
|
USHORT UnparkedProcessorCount; /* 0x36a */
|
||||||
|
ULONG EnclaveFeatureMask[4]; /* 0x36c */
|
||||||
|
ULONG TelemetryCoverageRound; /* 0x37c */
|
||||||
|
USHORT UserModeGlobalLogger[16]; /* 0x380 */
|
||||||
|
ULONG HeapTracingPid[2]; /* 0x390 */
|
||||||
|
ULONG CritSecTracingPid[2]; /* 0x398 */
|
||||||
|
ULONG ImageFileExecutionOptions; /* 0x3a0 */
|
||||||
|
ULONG LangGenerationCount; /* 0x3a4 */
|
||||||
|
ULONG ActiveProcessorAffinity; /* 0x3a8 */
|
||||||
|
volatile ULONGLONG InterruptTimeBias; /* 0x3b0 */
|
||||||
|
volatile ULONGLONG QpcBias; /* 0x3b8 */
|
||||||
|
ULONG ActiveProcessorCount; /* 0x3c0 */
|
||||||
|
volatile UCHAR ActiveGroupCount; /* 0x3c4 */
|
||||||
|
USHORT QpcData; /* 0x3c6 */
|
||||||
|
LARGE_INTEGER TimeZoneBiasEffectiveStart; /* 0x3c8 */
|
||||||
|
LARGE_INTEGER TimeZoneBiasEffectiveEnd; /* 0x3d0 */
|
||||||
|
XSTATE_CONFIGURATION XState; /* 0x3d8 */
|
||||||
} KSHARED_USER_DATA, *PKSHARED_USER_DATA;
|
} KSHARED_USER_DATA, *PKSHARED_USER_DATA;
|
||||||
|
|
||||||
typedef enum _MEMORY_CACHING_TYPE {
|
typedef enum _MEMORY_CACHING_TYPE {
|
||||||
|
|
Loading…
Reference in New Issue