summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 02:32:07 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 02:32:07 +0000
commitaae4ad0583e9f9b4482ca461e3bb3a28aab24262 (patch)
tree7a2168b5c7d940d2b9d1740142ff402ec7bf3420 /MdeModulePkg
parent407310479c5973167e7dc5aa3b82545ca57aab88 (diff)
downloadedk2-aae4ad0583e9f9b4482ca461e3bb3a28aab24262.zip
edk2-aae4ad0583e9f9b4482ca461e3bb3a28aab24262.tar.gz
edk2-aae4ad0583e9f9b4482ca461e3bb3a28aab24262.tar.bz2
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Include/Protocol/ConsoleControl.h8
1 files changed, 7 insertions, 1 deletions
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 {