Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2275 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -50,7 +50,7 @@ EFI_DRIVER_BINDING_PROTOCOL gUnixConsoleDriverBinding = {
|
||||
UnixConsoleDriverBindingSupported,
|
||||
UnixConsoleDriverBindingStart,
|
||||
UnixConsoleDriverBindingStop,
|
||||
0x10,
|
||||
0xa,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
@ -205,11 +205,11 @@ Done:
|
||||
|
||||
FreeUnicodeStringTable (Private->ControllerNameTable);
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
if (Private->NtOutHandle != NULL) {
|
||||
Private->UnixThunk->CloseHandle (Private->NtOutHandle);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (Private->SimpleTextIn.WaitForKey != NULL) {
|
||||
gBS->CloseEvent (Private->SimpleTextIn.WaitForKey);
|
||||
@ -294,9 +294,9 @@ Returns:
|
||||
Status = gBS->CloseEvent (Private->SimpleTextIn.WaitForKey);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
Private->UnixThunk->CloseHandle (Private->NtOutHandle);
|
||||
#endif
|
||||
#endif
|
||||
//
|
||||
// DO NOT close Private->NtInHandle. It points to StdIn and not
|
||||
// the Private->NtOutHandle is StdIn and should not be closed!
|
||||
|
Reference in New Issue
Block a user