]> 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..3571f4c58b7c12ba3552f324eca09f28f4973d63 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
   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
 **/\r
 VOID\r
 EFIAPI\r
 PlatformBdsInit (\r
-  IN EFI_BDS_ARCH_PROTOCOL_INSTANCE  *PrivateData\r
+  VOID\r
   )\r
 {\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -62,7 +59,6 @@ PlatformBdsConnectSequence (
   VOID\r
   )\r
 {\r
   VOID\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -77,7 +73,6 @@ PlatformBdsGetDriverOption (
   IN OUT LIST_ENTRY              *BdsDriverLists\r
   )\r
 {\r
   IN OUT LIST_ENTRY              *BdsDriverLists\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -94,7 +89,6 @@ PlatformBdsDiagnostics (
   IN BOOLEAN                     QuietBoot\r
   )\r
 {\r
   IN BOOLEAN                     QuietBoot\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -102,7 +96,6 @@ PlatformBdsDiagnostics (
   is driven by boot mode. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
   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
 \r
   @param  DriverOptionList        The header of the driver option link list\r
   @param  BootOptionList          The header of the boot option link list\r
 \r
@@ -110,12 +103,10 @@ PlatformBdsDiagnostics (
 VOID\r
 EFIAPI\r
 PlatformBdsPolicyBehavior (\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
   )\r
 {\r
   IN LIST_ENTRY                      *DriverOptionList,\r
   IN LIST_ENTRY                      *BootOptionList\r
   )\r
 {\r
-  return ;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -133,7 +124,6 @@ PlatformBdsBootSuccess (
   IN  BDS_COMMON_OPTION *Option\r
   )\r
 {\r
   IN  BDS_COMMON_OPTION *Option\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -154,7 +144,6 @@ PlatformBdsBootFail (
   IN  UINTN              ExitDataSize\r
   )\r
 {\r
   IN  UINTN              ExitDataSize\r
   )\r
 {\r
-  return;\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -175,14 +164,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
   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
 **/\r
-EFI_STATUS\r
+VOID\r
 EFIAPI\r
 PlatformBdsLockNonUpdatableFlash (\r
   VOID\r
   )\r
 {\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
 }\r