mirror of https://github.com/acidanthera/audk.git
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:
parent
677e5c0b77
commit
89b5f4b33f
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
GUID is the name of events used with CreateEventEx in order to be notified
|
GUID for an event that is signaled on the first attempt to check for a keystroke
|
||||||
when the requires ConIn connection.
|
from the ConIn device.
|
||||||
|
|
||||||
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
|
|
|
@ -630,7 +630,7 @@ ConSplitterTextInConstructor (
|
||||||
ConSplitterEmptyCallbackFunction,
|
ConSplitterEmptyCallbackFunction,
|
||||||
NULL,
|
NULL,
|
||||||
&gConnectConInEventGuid,
|
&gConnectConInEventGuid,
|
||||||
&ConInPrivate->ConnectConIn
|
&ConInPrivate->ConnectConInEvent
|
||||||
);
|
);
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
@ -3355,7 +3355,7 @@ ConSplitterTextInReadKeyStroke (
|
||||||
//
|
//
|
||||||
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
|
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
|
||||||
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
|
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
|
||||||
gBS->SignalEvent (Private->ConnectConIn);
|
gBS->SignalEvent (Private->ConnectConInEvent);
|
||||||
mConInIsConnect = TRUE;
|
mConInIsConnect = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3543,7 +3543,7 @@ ConSplitterTextInReadKeyStrokeEx (
|
||||||
//
|
//
|
||||||
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
|
if (!mConInIsConnect && PcdGetBool (PcdConInConnectOnDemand)) {
|
||||||
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
|
DEBUG ((EFI_D_INFO, "Connect ConIn in first ReadKeyStoke in Lazy ConIn mode.\n"));
|
||||||
gBS->SignalEvent (Private->ConnectConIn);
|
gBS->SignalEvent (Private->ConnectConInEvent);
|
||||||
mConInIsConnect = TRUE;
|
mConInIsConnect = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4727,5 +4727,4 @@ ConSplitterEmptyCallbackFunction (
|
||||||
IN VOID *Context
|
IN VOID *Context
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,7 +145,7 @@ typedef struct {
|
||||||
|
|
||||||
BOOLEAN KeyEventSignalState;
|
BOOLEAN KeyEventSignalState;
|
||||||
BOOLEAN InputEventSignalState;
|
BOOLEAN InputEventSignalState;
|
||||||
EFI_EVENT ConnectConIn;
|
EFI_EVENT ConnectConInEvent;
|
||||||
} TEXT_IN_SPLITTER_PRIVATE_DATA;
|
} TEXT_IN_SPLITTER_PRIVATE_DATA;
|
||||||
|
|
||||||
#define TEXT_IN_SPLITTER_PRIVATE_DATA_FROM_THIS(a) \
|
#define TEXT_IN_SPLITTER_PRIVATE_DATA_FROM_THIS(a) \
|
||||||
|
|
Loading…
Reference in New Issue