summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 05:08:24 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 05:08:24 +0000
commit257efb0ba32204ba983fd5eb4686280f8d975471 (patch)
treec832a7717f5e4cfb24ae1b1cc30d4c7aadf126ea
parent498aeaf367503eb55358cf12e9d192d16c7d060d (diff)
downloadedk2-platforms-257efb0ba32204ba983fd5eb4686280f8d975471.tar.xz
fix ECC tool's warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7095 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Include/Protocol/ConsoleControl.h5
-rw-r--r--MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c2
2 files changed, 4 insertions, 3 deletions
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.