mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Implement support for processor groups in the driver and fix build issues caused by previous implementation
This commit is contained in:
@@ -263,6 +263,10 @@ extern ULONG AllocTag;
|
||||
typedef int BOOL;
|
||||
#endif
|
||||
|
||||
#ifndef WORD
|
||||
typedef USHORT WORD;
|
||||
#endif
|
||||
|
||||
#ifndef BOOLEAN
|
||||
typedef unsigned char BOOLEAN;
|
||||
#endif
|
||||
@@ -295,6 +299,17 @@ typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) (
|
||||
|
||||
typedef BOOLEAN (NTAPI *KeAreAllApcsDisabledFn) ();
|
||||
|
||||
typedef void (NTAPI *KeSetSystemGroupAffinityThreadFn)(
|
||||
PGROUP_AFFINITY Affinity,
|
||||
PGROUP_AFFINITY PreviousAffinity
|
||||
);
|
||||
|
||||
typedef USHORT (NTAPI *KeQueryActiveGroupCountFn)();
|
||||
|
||||
typedef ULONG (NTAPI *KeQueryActiveProcessorCountExFn)(
|
||||
USHORT GroupNumber
|
||||
);
|
||||
|
||||
extern NTSTATUS NTAPI KeSaveExtendedProcessorState (
|
||||
__in ULONG64 Mask,
|
||||
PXSTATE_SAVE XStateSave
|
||||
|
||||
Reference in New Issue
Block a user