X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FLibrary%2FPlatformBdsLib%2FBdsPlatform.c;h=44fd0d7ed5dc874b623a7112507df4d783b9b65c;hp=339d1e2f789470a7ae3d429a076cfa3eabf63925;hb=24cdd14e81bc867dfc0ed05fd6d22d4a49858adb;hpb=2e01113094b2817712e1e00a975e7837a2c2a341 diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index 339d1e2f78..44fd0d7ed5 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -1064,14 +1064,14 @@ Returns: return EFI_SUCCESS; } -EFI_STATUS +VOID EFIAPI PlatformBdsLockNonUpdatableFlash ( VOID ) { DEBUG ((EFI_D_INFO, "PlatformBdsLockNonUpdatableFlash\n")); - return EFI_SUCCESS; + return; } @@ -1175,3 +1175,22 @@ InstallDevicePathCallback ( ); } +/** + 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; +}