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/Driver/Ntdriver.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/Driver/Ntdriver.h')
-rw-r--r-- | src/Driver/Ntdriver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h index 2e4d6555..25ee64e9 100644 --- a/src/Driver/Ntdriver.h +++ b/src/Driver/Ntdriver.h @@ -174,6 +174,8 @@ NTSTATUS TCCompleteDiskIrp (PIRP irp, NTSTATUS status, ULONG_PTR information); NTSTATUS ProbeRealDriveSize (PDEVICE_OBJECT driveDeviceObject, LARGE_INTEGER *driveSize); BOOL UserCanAccessDriveDevice (); size_t GetCpuCount (); +USHORT GetCpuGroup (size_t index); +void SetThreadCpuGroupAffinity (USHORT index); void EnsureNullTerminatedString (wchar_t *str, size_t maxSizeInBytes); void *AllocateMemoryWithTimeout (size_t size, int retryDelay, int timeout); BOOL IsDriveLetterAvailable (int nDosDriveNo, DeviceNamespaceType namespaceType); |