1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-01-03 04:18:10 -06:00

Windows: use specific order for EFI boot arguments memory regions that matches the one used by EFI bootloader.

This commit is contained in:
Mounir IDRASSI
2019-02-27 00:09:40 +01:00
parent cf48b532b4
commit 8d7a318795
5 changed files with 63 additions and 11 deletions

View File

@@ -281,6 +281,14 @@ typedef VOID (NTAPI *KeRestoreExtendedProcessorStateFn) (
PXSTATE_SAVE XStateSave
);
typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) (
PUNICODE_STRING VariableName,
LPGUID VendorGuid,
PVOID Value,
PULONG ValueLength,
PULONG Attributes
);
extern NTSTATUS NTAPI KeSaveExtendedProcessorState (
__in ULONG64 Mask,
PXSTATE_SAVE XStateSave