summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Protocol/ConsoleControl.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-03 08:55:36 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-03 08:55:36 +0000
commit346cf9ace3b51e3d40019ce7f6fee24375f829cc (patch)
tree7a26175ceed93fcbe9ba3573ef77c9b356ea2e4d /MdeModulePkg/Include/Protocol/ConsoleControl.h
parentaa79b0b3799e95bc21e0df32a135cc5a4d749e4b (diff)
downloadedk2-346cf9ace3b51e3d40019ce7f6fee24375f829cc.zip
edk2-346cf9ace3b51e3d40019ce7f6fee24375f829cc.tar.gz
edk2-346cf9ace3b51e3d40019ce7f6fee24375f829cc.tar.bz2
Code scrub for MdeModule Include header file (Protocol and DEC)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6817 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Protocol/ConsoleControl.h')
-rw-r--r--MdeModulePkg/Include/Protocol/ConsoleControl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h
index b14b54d..b2111ef 100644
--- a/MdeModulePkg/Include/Protocol/ConsoleControl.h
+++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h
@@ -23,18 +23,18 @@ typedef struct _EFI_CONSOLE_CONTROL_PROTOCOL EFI_CONSOLE_CONTROL_PROTOCOL;
typedef enum {
- EfiConsoleControlScreenText,
- EfiConsoleControlScreenGraphics,
+ EfiConsoleControlScreenText, /// Text Mode
+ EfiConsoleControlScreenGraphics, /// Graphics Mode
EfiConsoleControlScreenMaxValue
} EFI_CONSOLE_CONTROL_SCREEN_MODE;
/**
Return the current video mode information. Also returns info about existence
- of Graphics Output devices or UGA Draw devices in system, and if the Std In device is locked. All the
- arguments are optional and only returned if a non NULL pointer is passed in.
+ of Graphics Output devices or UGA Draw devices in system, and whether the Std In device is locked.
+ GopUgaExists and StdInLocked parameters are optional.
@param This Protocol instance pointer.
- @param Mode Are we in text of grahics mode.
+ @param Mode Current video mode.
@param GopExists TRUE if GOP Spliter has found a GOP/UGA device
@param StdInLocked TRUE if StdIn device is keyboard locked
@@ -55,9 +55,9 @@ EFI_STATUS
Set the current video mode to either text or graphics.
@param This Protocol instance pointer.
- @param Mode Mode is to be set.
+ @param Mode Video mode is to be set.
- @retval EFI_SUCCESS Mode is set.
+ @retval EFI_SUCCESS Mode is set successfully.
@retval EFI_INVALID_PARAMETER Mode is not the valid mode value.
@retval EFI_UNSUPPORTED Mode is unsupported by console device.
@@ -70,9 +70,9 @@ EFI_STATUS
);
/**
- Copy the Password and enable state variable and then arm the periodic timer
+ Store the password, enable state variable and arm the periodic timer.
- @retval EFI_SUCCESS Lock the StdIn device
+ @retval EFI_SUCCESS Lock the StdIn device successfully.
@retval EFI_INVALID_PARAMETER Password is NULL
@retval EFI_OUT_OF_RESOURCES Buffer allocation to store the big password fails