Implement BlEfiGetSecureBootStatus() to get SecureBoot status

This commit is contained in:
2022-10-12 15:47:41 +02:00
parent da37ceaa0f
commit 09e58d0b67
3 changed files with 42 additions and 0 deletions

View File

@@ -19,6 +19,9 @@ EXTERN EFI_HANDLE EfiImageHandle;
/* EFI System Table */
EXTERN PEFI_SYSTEM_TABLE EfiSystemTable;
/* EFI Secure Boot status */
EXTERN INT_PTR EfiSecureBoot;
/* Serial port configuration */
EXTERN CPPORT EfiSerialPort;
@@ -44,6 +47,9 @@ VOID
BlDbgPrint(IN PUINT16 Format,
IN ...);
INT_PTR
BlEfiGetSecureBootStatus();
EFI_STATUS
BlEfiMemoryAllocatePool(IN UINT_PTR Size,
OUT PVOID *Memory);