]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
SecurityPkg: Add SecureBootDefaultKeysDxe driver
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootDefaultKeysDxe / SecureBootDefaultKeysDxe.inf
diff --git a/SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf b/SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
new file mode 100644 (file)
index 0000000..3ed45fa
--- /dev/null
@@ -0,0 +1,46 @@
+## @file\r
+#  Initializes Secure Boot default keys\r
+#\r
+#  Copyright (c) 2021, ARM Ltd. All rights reserved.<BR>\r
+#  Copyright (c) 2021, Semihalf All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+[Defines]\r
+  INF_VERSION = 0x00010005\r
+  BASE_NAME   = SecureBootDefaultKeysDxe\r
+  FILE_GUID   = C937FCB7-25AC-4376-89A2-4EA8B317DE83\r
+  MODULE_TYPE = DXE_DRIVER\r
+  ENTRY_POINT = SecureBootDefaultKeysEntryPoint\r
+\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 AARCH64\r
+#\r
+[Sources]\r
+  SecureBootDefaultKeysDxe.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  SecurityPkg/SecurityPkg.dec\r
+\r
+[LibraryClasses]\r
+  BaseLib\r
+  BaseMemoryLib\r
+  MemoryAllocationLib\r
+  UefiDriverEntryPoint\r
+  DebugLib\r
+  SecureBootVariableLib\r
+  SecureBootVariableProvisionLib\r
+\r
+[Guids]\r
+  ## SOMETIMES_PRODUCES      ## Variable:L"PKDefault"\r
+  ## SOMETIMES_PRODUCES      ## Variable:L"KEKDefault"\r
+  ## SOMETIMES_PRODUCES      ## Variable:L"dbDefault"\r
+  ## SOMETIMES_PRODUCES      ## Variable:L"dbtDefault"\r
+  ## SOMETIMES_PRODUCES      ## Variable:L"dbxDefault"\r
+  gEfiGlobalVariableGuid\r
+\r
+[Depex]\r
+  gEfiVariableArchProtocolGuid      AND\r
+  gEfiVariableWriteArchProtocolGuid\r