VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Include/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Library')
-rw-r--r--Include/Library/CommonLib.h34
-rw-r--r--Include/Library/PasswordLib.h8
2 files changed, 42 insertions, 0 deletions
diff --git a/Include/Library/CommonLib.h b/Include/Library/CommonLib.h
index 5f96bba..950406f 100644
--- a/Include/Library/CommonLib.h
+++ b/Include/Library/CommonLib.h
@@ -137,6 +137,33 @@ EfiFindPartByGUID(
);
//////////////////////////////////////////////////////////////////////////
+// Bluetooth
+//////////////////////////////////////////////////////////////////////////
+extern EFI_HANDLE* gBluetoothIoHandles;
+extern UINTN gBluetoothIoCount;
+
+extern EFI_HANDLE* gBluetoothHcHandles;
+extern UINTN gBluetoothHcCount;
+
+extern EFI_HANDLE* gBluetoothConfigHandles;
+extern UINTN gBluetoothConfigCount;
+
+EFI_STATUS
+InitBluetooth();
+
+//////////////////////////////////////////////////////////////////////////
+// TCG
+//////////////////////////////////////////////////////////////////////////
+extern EFI_HANDLE* gTcgHandles;
+extern UINTN gTcgCount;
+
+extern EFI_HANDLE* gTcg2Handles;
+extern UINTN gTcg2Count;
+
+EFI_STATUS
+InitTcg();
+
+//////////////////////////////////////////////////////////////////////////
// USB
//////////////////////////////////////////////////////////////////////////
extern EFI_HANDLE* gUSBHandles;
@@ -510,6 +537,13 @@ FileWrite(
IN OUT UINTN* bytes,
IN OUT UINT64* position);
+UINTN
+FileAsciiPrint(
+ IN EFI_FILE *f,
+ IN CONST CHAR8 *format,
+ ...
+ );
+
EFI_STATUS
FileGetInfo(
IN EFI_FILE* f,
diff --git a/Include/Library/PasswordLib.h b/Include/Library/PasswordLib.h
index 3396164..7ed31c5 100644
--- a/Include/Library/PasswordLib.h
+++ b/Include/Library/PasswordLib.h
@@ -63,9 +63,17 @@ AskConsolePwdInt(
extern EFI_GUID* gSmbSystemUUID; // Universal unique ID
extern CHAR8* gSmbSystemSerial; // System serial
extern CHAR8* gSmbSystemSKU; // SKU number
+extern CHAR8* gSmbSystemManufacture; // computer manufacture
+extern CHAR8* gSmbSystemModel; // computer model
+extern CHAR8* gSmbSystemVersion; // computer version
+
extern CHAR8* gSmbBaseBoardSerial; // Base board serial
extern UINT64* gSmbProcessorID; // Processor ID
+extern CHAR8* gSmbBiosVendor; // BIOS vendor
+extern CHAR8* gSmbBiosVersion; // BIOS version
+extern CHAR8* gSmbBiosDate; // BIOS date
+
EFI_STATUS
SMBIOSGetSerials();