diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Library/CommonLib.h | 30 | ||||
-rw-r--r-- | Include/Library/DcsCfgLib.h | 27 | ||||
-rw-r--r-- | Include/Library/PasswordLib.h | 7 |
3 files changed, 64 insertions, 0 deletions
diff --git a/Include/Library/CommonLib.h b/Include/Library/CommonLib.h index 98e93db..2c698d0 100644 --- a/Include/Library/CommonLib.h +++ b/Include/Library/CommonLib.h @@ -174,6 +174,36 @@ GptReadHeader( );
//////////////////////////////////////////////////////////////////////////
+// General EFI tables
+//////////////////////////////////////////////////////////////////////////
+#define EFITABLE_HEADER_SIGN SIGNATURE_64('E','F','I','T','A','B','L','E')
+
+BOOLEAN
+TablesVerify(
+ IN UINTN maxSize,
+ IN VOID* tables);
+
+BOOLEAN
+TablesGetData(
+ IN VOID* tables,
+ IN UINT64 sign,
+ OUT VOID** data,
+ OUT UINTN* size);
+
+BOOLEAN
+TablesDelete(
+ IN VOID* tables,
+ IN UINT64 sign
+ );
+
+BOOLEAN
+TablesAppend(
+ IN OUT VOID** tables,
+ IN UINT64 sign,
+ IN VOID* data,
+ IN UINTN size);
+
+//////////////////////////////////////////////////////////////////////////
// Bluetooth
//////////////////////////////////////////////////////////////////////////
extern EFI_HANDLE* gBluetoothIoHandles;
diff --git a/Include/Library/DcsCfgLib.h b/Include/Library/DcsCfgLib.h index 322aaa1..259004e 100644 --- a/Include/Library/DcsCfgLib.h +++ b/Include/Library/DcsCfgLib.h @@ -112,6 +112,33 @@ BOOLEAN IsRegionOverlap(UINT64 start1, UINT64 end1, UINT64 start2, UINT64 end2);
//////////////////////////////////////////////////////////////////////////
+// Tables
+//////////////////////////////////////////////////////////////////////////
+extern CONST CHAR16* DcsTablesFileName;
+extern UINT8* gDcsTables;
+extern UINTN gDcsTablesSize;
+
+EFI_STATUS
+TablesDel(
+ IN CONST CHAR16* sign
+ );
+
+EFI_STATUS
+TablesNew(
+ IN CONST CHAR16* sign,
+ IN CONST CHAR16* dataFileName
+ );
+
+EFI_STATUS
+TablesLoad();
+
+BOOLEAN
+TablesList(
+ IN UINTN maxSize,
+ IN VOID* tables
+ );
+
+//////////////////////////////////////////////////////////////////////////
// Random
//////////////////////////////////////////////////////////////////////////
enum RndGeneratorTypes {
diff --git a/Include/Library/PasswordLib.h b/Include/Library/PasswordLib.h index 7ed31c5..a827b16 100644 --- a/Include/Library/PasswordLib.h +++ b/Include/Library/PasswordLib.h @@ -25,6 +25,8 @@ extern UINTN gPasswordPictureCharsLen; extern UINT8 gPasswordVisible;
extern UINT8 gPasswordProgress;
extern int gPasswordShowMark;
+extern VOID* gPictPwdBmp;
+extern UINTN gPictPwdBmpSize;
extern int gPlatformLocked;
extern int gTPMLocked;
@@ -114,4 +116,9 @@ PlatformGetAuthData( OUT EFI_HANDLE *secRegionHandle
);
+//////////////////////////////////////////////////////////////////////////
+// Certificates
+//////////////////////////////////////////////////////////////////////////
+extern CHAR8* gDCS_platform_crt_der;
+
#endif
\ No newline at end of file |