[XDK] Apply standard formatting to KUSER_SHARED_DATA

This commit is contained in:
Timo Kreuzer 2023-12-03 11:28:11 +02:00
parent 766a093f70
commit f42e9029f7

View file

@ -1263,7 +1263,8 @@ typedef struct _XSTATE_CONFIGURATION
#define NX_SUPPORT_POLICY_OPTOUT 3
#endif
typedef struct _KUSER_SHARED_DATA {
typedef struct _KUSER_SHARED_DATA
{
ULONG TickCountLowDeprecated;
ULONG TickCountMultiplier;
volatile KSYSTEM_TIME InterruptTime;
@ -1300,9 +1301,11 @@ typedef struct _KUSER_SHARED_DATA {
ULONG NumberOfPhysicalPages;
BOOLEAN SafeBootMode;
#if (NTDDI_VERSION >= NTDDI_WIN7)
_ANONYMOUS_UNION union {
_ANONYMOUS_UNION union
{
UCHAR TscQpcData;
_ANONYMOUS_STRUCT struct {
_ANONYMOUS_STRUCT struct
{
UCHAR TscQpcEnabled:1;
UCHAR TscQpcSpareFlag:1;
UCHAR TscQpcShift:6;
@ -1311,9 +1314,11 @@ typedef struct _KUSER_SHARED_DATA {
UCHAR TscQpcPad[2];
#endif
#if (NTDDI_VERSION >= NTDDI_VISTA)
_ANONYMOUS_UNION union {
_ANONYMOUS_UNION union
{
ULONG SharedDataFlags;
_ANONYMOUS_STRUCT struct {
_ANONYMOUS_STRUCT struct
{
ULONG DbgErrorPortPresent:1;
ULONG DbgElevationEnabled:1;
ULONG DbgVirtEnabled:1;
@ -1332,10 +1337,12 @@ typedef struct _KUSER_SHARED_DATA {
ULONG SystemCall;
ULONG SystemCallReturn;
ULONGLONG SystemCallPad[3];
_ANONYMOUS_UNION union {
_ANONYMOUS_UNION union
{
volatile KSYSTEM_TIME TickCount;
volatile ULONG64 TickCountQuad;
_ANONYMOUS_STRUCT struct {
_ANONYMOUS_STRUCT struct
{
ULONG ReservedTickCountOverlay[3];
ULONG TickCountPad[1];
} DUMMYSTRUCTNAME;
@ -1362,7 +1369,7 @@ typedef struct _KUSER_SHARED_DATA {
#endif
ULONGLONG Reserved5;
volatile ULONG64 InterruptTimeBias;
#endif
#endif // NTDDI_VERSION >= NTDDI_VISTA
#if (NTDDI_VERSION >= NTDDI_WIN7)
volatile ULONG64 TscQpcBias;
volatile ULONG ActiveProcessorCount;