]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / PlatformBdsLibNull / BdsPlatform.c
index f202c9778aebc41fbd0e8e03063a32b3c83e4ab4..e7bad074fd8ed28de145a8034b37bae7205a207d 100644 (file)
@@ -21,16 +21,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   Platform Bds init. Include the platform firmware vendor, revision\r
   and so crc check.\r
 \r
-  @param  PrivateData             The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
 PlatformBdsInit (\r
-  IN EFI_BDS_ARCH_PROTOCOL_INSTANCE  *PrivateData\r
+  VOID\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -62,7 +59,6 @@ PlatformBdsConnectSequence (
   VOID\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -77,7 +73,6 @@ PlatformBdsGetDriverOption (
   IN OUT LIST_ENTRY              *BdsDriverLists\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -86,15 +81,16 @@ PlatformBdsGetDriverOption (
 \r
   @param MemoryTestLevel  The memory test intensive level\r
   @param QuietBoot        Indicate if need to enable the quiet boot\r
+  @param BaseMemoryTest   A pointer to BdsMemoryTest()\r
 \r
 **/\r
 VOID\r
 PlatformBdsDiagnostics (\r
   IN EXTENDMEM_COVERAGE_LEVEL    MemoryTestLevel,\r
-  IN BOOLEAN                     QuietBoot\r
+  IN BOOLEAN                     QuietBoot,\r
+  IN BASEM_MEMORY_TEST           BaseMemoryTest\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -102,20 +98,21 @@ PlatformBdsDiagnostics (
   is driven by boot mode. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
-  @param  PrivateData             The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance\r
   @param  DriverOptionList        The header of the driver option link list\r
   @param  BootOptionList          The header of the boot option link list\r
+  @param  ProcessCapsules         A pointer to ProcessCapsules()\r
+  @param  BaseMemoryTest          A pointer to BaseMemoryTest()\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 PlatformBdsPolicyBehavior (\r
-  IN EFI_BDS_ARCH_PROTOCOL_INSTANCE  *PrivateData,\r
   IN LIST_ENTRY                      *DriverOptionList,\r
-  IN LIST_ENTRY                      *BootOptionList\r
+  IN LIST_ENTRY                      *BootOptionList,\r
+  IN PROCESS_CAPSULES                ProcessCapsules,\r
+  IN BASEM_MEMORY_TEST               BaseMemoryTest\r
   )\r
 {\r
-  return ;\r
 }\r
 \r
 /**\r
@@ -133,7 +130,6 @@ PlatformBdsBootSuccess (
   IN  BDS_COMMON_OPTION *Option\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -154,7 +150,6 @@ PlatformBdsBootFail (
   IN  UINTN              ExitDataSize\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
@@ -175,14 +170,33 @@ PlatformBdsNoConsoleAction (
 /**\r
   This function locks platform flash that is not allowed to be updated during normal boot path.\r
   The flash layout is platform specific.\r
-\r
-  @retval EFI_SUCCESS             The non-updatable flash areas.\r
 **/\r
-EFI_STATUS\r
+VOID\r
 EFIAPI\r
 PlatformBdsLockNonUpdatableFlash (\r
   VOID\r
   )\r
 {\r
-  return EFI_SUCCESS;\r
+  return ;\r
+}\r
+\r
+\r
+/**\r
+  Lock the ConsoleIn device in system table. All key\r
+  presses will be ignored until the Password is typed in. The only way to\r
+  disable the password is to type it in to a ConIn device.\r
+\r
+  @param  Password        Password used to lock ConIn device.\r
+\r
+  @retval EFI_SUCCESS     lock the Console In Spliter virtual handle successfully.\r
+  @retval EFI_UNSUPPORTED Password not found\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+LockKeyboards (\r
+  IN  CHAR16    *Password\r
+  )\r
+{\r
+    return EFI_UNSUPPORTED;\r
 }\r