diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-02-10 02:20:46 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-02-10 02:23:25 +0100 |
commit | 94d3a1919c8eee4d7bfd7280ee4964477dee02e3 (patch) | |
tree | 6b745e402e302dfaa9df976a51f569e0f62619ac /src/Common/Tcdefs.h | |
parent | c1d670fd752b96abac09b919d7ca1bff4ebafcbc (diff) | |
download | VeraCrypt-94d3a1919c8eee4d7bfd7280ee4964477dee02e3.tar.gz VeraCrypt-94d3a1919c8eee4d7bfd7280ee4964477dee02e3.zip |
Windows: Implement support for processor groups in the driver and fix build issues caused by previous implementation
Diffstat (limited to 'src/Common/Tcdefs.h')
-rw-r--r-- | src/Common/Tcdefs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index c9a38a0e..c89cb779 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -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 |