VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-02-10 02:20:46 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-02-10 02:23:25 +0100
commit94d3a1919c8eee4d7bfd7280ee4964477dee02e3 (patch)
tree6b745e402e302dfaa9df976a51f569e0f62619ac /src/Driver/Ntdriver.h
parentc1d670fd752b96abac09b919d7ca1bff4ebafcbc (diff)
downloadVeraCrypt-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.h2
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);