diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h index f41ffa7207..e55e6b2938 100644 --- a/MdeModulePkg/Include/Protocol/ConsoleControl.h +++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h @@ -31,11 +31,12 @@ typedef enum { /** Return the current video mode information. Also returns info about existence of Graphics Output devices or UGA Draw devices in system, and whether the Std - In device is locked. GopUgaExists and StdInLocked parameters are optional. + In device is locked. GopUgaExists and StdInLocked parameters are optional, and + only returned if a non NULL pointer is passed in. @param This Protocol instance pointer. @param Mode Current video mode. - @param GopExists TRUE if GOP Spliter has found a GOP/UGA device + @param GopUgaExists TRUE if GOP Spliter has found a GOP/UGA device @param StdInLocked TRUE if StdIn device is keyboard locked @retval EFI_SUCCESS Video mode information is returned. diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c index 7d8e632f95..1a0715e141 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c @@ -31,7 +31,7 @@ CHAR16 mCrLfString[3] = { CHAR_CARRIAGE_RETURN, CHAR_LINEFEED, CHAR_NULL }; @param This Protocol instance pointer. @param Mode Current video mode. - @param GopExists TRUE if GOP Spliter has found a GOP/UGA device + @param GopUgaExists TRUE if GOP Spliter has found a GOP/UGA device @param StdInLocked TRUE if StdIn device is keyboard locked @retval EFI_SUCCESS Video mode information is returned.