mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 03:03:13 +00:00
[PSDK][XDK] Update some definitions
This commit is contained in:
parent
05dc65bd17
commit
e195303889
3 changed files with 70 additions and 7 deletions
|
@ -1139,6 +1139,15 @@ typedef enum _COMPUTER_NAME_FORMAT {
|
|||
} COMPUTER_NAME_FORMAT;
|
||||
#endif /* (_WIN32_WINNT >= 0x0500) */
|
||||
|
||||
typedef enum _DEP_SYSTEM_POLICY_TYPE
|
||||
{
|
||||
DEPPolicyAlwaysOff = 0,
|
||||
DEPPolicyAlwaysOn,
|
||||
DEPPolicyOptIn,
|
||||
DEPPolicyOptOut,
|
||||
DEPTotalPolicyCount
|
||||
} DEP_SYSTEM_POLICY_TYPE;
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
|
||||
typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE;
|
||||
|
|
|
@ -84,12 +84,16 @@ typedef enum _LOGICAL_PROCESSOR_RELATIONSHIP {
|
|||
RelationCache,
|
||||
RelationProcessorPackage,
|
||||
RelationGroup,
|
||||
RelationProcessorDie,
|
||||
RelationNumaNodeEx,
|
||||
RelationProcessorModule,
|
||||
RelationAll = 0xffff
|
||||
} LOGICAL_PROCESSOR_RELATIONSHIP;
|
||||
|
||||
typedef struct _PROCESSOR_RELATIONSHIP {
|
||||
UCHAR Flags;
|
||||
UCHAR Reserved[21];
|
||||
UCHAR EfficiencyClass;
|
||||
UCHAR Reserved[20];
|
||||
USHORT GroupCount;
|
||||
_Field_size_(GroupCount) GROUP_AFFINITY GroupMask[ANYSIZE_ARRAY];
|
||||
} PROCESSOR_RELATIONSHIP, *PPROCESSOR_RELATIONSHIP;
|
||||
|
@ -120,6 +124,54 @@ typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX {
|
|||
} DUMMYUNIONNAME;
|
||||
} SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX;
|
||||
|
||||
typedef enum _CPU_SET_INFORMATION_TYPE
|
||||
{
|
||||
CpuSetInformation
|
||||
} CPU_SET_INFORMATION_TYPE, *PCPU_SET_INFORMATION_TYPE;
|
||||
|
||||
_Struct_size_bytes_(Size)
|
||||
typedef struct _SYSTEM_CPU_SET_INFORMATION
|
||||
{
|
||||
ULONG Size;
|
||||
CPU_SET_INFORMATION_TYPE Type;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
ULONG Id;
|
||||
USHORT Group;
|
||||
UCHAR LogicalProcessorIndex;
|
||||
UCHAR CoreIndex;
|
||||
UCHAR LastLevelCacheIndex;
|
||||
UCHAR NumaNodeIndex;
|
||||
UCHAR EfficiencyClass;
|
||||
union
|
||||
{
|
||||
UCHAR AllFlags;
|
||||
struct
|
||||
{
|
||||
UCHAR Parked : 1;
|
||||
UCHAR Allocated : 1;
|
||||
UCHAR AllocatedToTargetProcess : 1;
|
||||
UCHAR RealTime : 1;
|
||||
UCHAR ReservedFlags : 4;
|
||||
} DUMMYSTRUCTNAME;
|
||||
} DUMMYUNIONNAME2;
|
||||
union
|
||||
{
|
||||
ULONG Reserved;
|
||||
UCHAR SchedulingClass;
|
||||
};
|
||||
ULONG64 AllocationTag;
|
||||
} CpuSet;
|
||||
} DUMMYUNIONNAME;
|
||||
} SYSTEM_CPU_SET_INFORMATION, *PSYSTEM_CPU_SET_INFORMATION;
|
||||
|
||||
#define SYSTEM_CPU_SET_INFORMATION_PARKED 0x1
|
||||
#define SYSTEM_CPU_SET_INFORMATION_ALLOCATED 0x2
|
||||
#define SYSTEM_CPU_SET_INFORMATION_ALLOCATED_TO_TARGET_PROCESS 0x4
|
||||
#define SYSTEM_CPU_SET_INFORMATION_REALTIME 0x8
|
||||
|
||||
/* Processor features */
|
||||
#define PF_FLOATING_POINT_PRECISION_ERRATA 0
|
||||
#define PF_FLOATING_POINT_EMULATED 1
|
||||
|
|
|
@ -1278,6 +1278,8 @@ typedef struct _IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY {
|
|||
} DUMMYUNIONNAME;
|
||||
} IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, * PIMAGE_ARM64_RUNTIME_FUNCTION_ENTRY;
|
||||
|
||||
typedef struct _IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ARM64_RUNTIME_FUNCTION, *PARM64_RUNTIME_FUNCTION;
|
||||
|
||||
/* FIXME: add more machines */
|
||||
#if defined(_X86_)
|
||||
#define SIZE_OF_80387_REGISTERS 80
|
||||
|
@ -2341,6 +2343,10 @@ typedef struct _DISPATCHER_CONTEXT {
|
|||
#else
|
||||
#error "undefined processor type"
|
||||
#endif
|
||||
|
||||
#define CONTEXT_ARM64_UNWOUND_TO_CALL 0x20000000
|
||||
#define CONTEXT_ARM64_RET_TO_GUEST 0x04000000
|
||||
|
||||
typedef CONTEXT *PCONTEXT;
|
||||
|
||||
typedef struct DECLSPEC_ALIGN(16) _ARM64EC_NT_CONTEXT
|
||||
|
@ -4194,7 +4200,8 @@ typedef struct _SYSTEM_BATTERY_STATE {
|
|||
BOOLEAN BatteryPresent;
|
||||
BOOLEAN Charging;
|
||||
BOOLEAN Discharging;
|
||||
BOOLEAN Spare1[4];
|
||||
BOOLEAN Spare1[3];
|
||||
BYTE Tag;
|
||||
DWORD MaxCapacity;
|
||||
DWORD RemainingCapacity;
|
||||
DWORD Rate;
|
||||
|
@ -4638,11 +4645,6 @@ DbgRaiseAssertionFailure(VOID)
|
|||
#error Unknown architecture
|
||||
#endif
|
||||
|
||||
typedef enum _CPU_SET_INFORMATION_TYPE
|
||||
{
|
||||
CpuSetInformation,
|
||||
} CPU_SET_INFORMATION_TYPE, *PCPU_SET_INFORMATION_TYPE;
|
||||
|
||||
typedef struct _TP_POOL TP_POOL, *PTP_POOL;
|
||||
typedef struct _TP_WORK TP_WORK, *PTP_WORK;
|
||||
typedef struct _TP_CALLBACK_INSTANCE TP_CALLBACK_INSTANCE, *PTP_CALLBACK_INSTANCE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue