summaryrefslogtreecommitdiff
path: root/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/Library/UnixBdsLib/BdsPlatform.c')
-rw-r--r--UnixPkg/Library/UnixBdsLib/BdsPlatform.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
index d33046e99f..fb541b2273 100644
--- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
+++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
@@ -526,11 +526,31 @@ Returns:
return EFI_SUCCESS;
}
-EFI_STATUS
+VOID
EFIAPI
PlatformBdsLockNonUpdatableFlash (
VOID
)
{
- return EFI_SUCCESS;
+ return;
+}
+
+/**
+ Lock the ConsoleIn device in system table. All key
+ presses will be ignored until the Password is typed in. The only way to
+ disable the password is to type it in to a ConIn device.
+
+ @param Password Password used to lock ConIn device.
+
+ @retval EFI_SUCCESS lock the Console In Spliter virtual handle successfully.
+ @retval EFI_UNSUPPORTED Password not found
+
+**/
+EFI_STATUS
+EFIAPI
+LockKeyboards (
+ IN CHAR16 *Password
+ )
+{
+ return EFI_UNSUPPORTED;
}