]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 08:06:56 +0000 (08:06 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 08:06:56 +0000 (08:06 +0000)
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8866 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c

index 855faf6ee004426e2e73b2714266d2955bdeecb7..3571f4c58b7c12ba3552f324eca09f28f4973d63 100644 (file)
@@ -164,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
-  @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