Fix some coding style issues

Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by  : Kinney Michael <michael.d.kinney@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13653 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
czhang46 2012-08-21 05:26:00 +00:00
parent 677e5c0b77
commit 89b5f4b33f
3 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,6 @@
/** @file
GUID is the name of events used with CreateEventEx in order to be notified
when the requires ConIn connection.
GUID for an event that is signaled on the first attempt to check for a keystroke
from the ConIn device.
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials

View File

@ -630,7 +630,7 @@ ConSplitterTextInConstructor (
ConSplitterEmptyCallbackFunction,
NULL,
&gConnectConInEventGuid,
&ConInPrivate->ConnectConIn
&ConInPrivate->ConnectConInEvent
);
return Status;
@ -3355,7 +3355,7 @@ ConSplitterTextInReadKeyStroke (
//
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
gBS->SignalEvent (Private->ConnectConIn);
gBS->SignalEvent (Private->ConnectConInEvent);
mConInIsConnect = TRUE;
}
@ -3543,7 +3543,7 @@ ConSplitterTextInReadKeyStrokeEx (
//
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
gBS->SignalEvent (Private->ConnectConIn);
gBS->SignalEvent (Private->ConnectConInEvent);
mConInIsConnect = TRUE;
}
@ -4727,5 +4727,4 @@ ConSplitterEmptyCallbackFunction (
IN VOID *Context
)
{
return;
}

View File

@ -145,7 +145,7 @@ typedef struct {
BOOLEAN KeyEventSignalState;
BOOLEAN InputEventSignalState;
EFI_EVENT ConnectConIn;
EFI_EVENT ConnectConInEvent;
} TEXT_IN_SPLITTER_PRIVATE_DATA;
#define TEXT_IN_SPLITTER_PRIVATE_DATA_FROM_THIS(a) \