From aae4ad0583e9f9b4482ca461e3bb3a28aab24262 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Tue, 23 Dec 2008 02:32:07 +0000 Subject: remedy the comment of EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7090 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Protocol/ConsoleControl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h index b2111ef..c7bbb32 100644 --- a/MdeModulePkg/Include/Protocol/ConsoleControl.h +++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h @@ -71,6 +71,12 @@ EFI_STATUS /** Store the password, enable state variable and arm the periodic timer. + If Password is NULL unlock the password state variable and set the event + timer. If the Password is too big return an error. If the Password is valid + Copy the Password and enable state variable and then arm the periodic timer + + @param This Console Control protocol pointer. + @param Password The password input. @retval EFI_SUCCESS Lock the StdIn device successfully. @retval EFI_INVALID_PARAMETER Password is NULL @@ -81,7 +87,7 @@ typedef EFI_STATUS (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, - IN CHAR16 *Password + IN CHAR16 *Password ); struct _EFI_CONSOLE_CONTROL_PROTOCOL { -- cgit v1.1