mirror of https://github.com/acidanthera/audk.git
Fix some build error under ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6357 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
86026b9dff
commit
6394182967
|
@ -338,7 +338,7 @@ WinNtBlockIoComponentNameGetControllerName (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiBlockIoProtocolGuid,
|
&gEfiBlockIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -154,7 +154,7 @@ WinNtBlockIoDriverConfigurationSetOptions (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -239,7 +239,7 @@ WinNtBlockIoDriverConfigurationOptionsValid (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -315,7 +315,7 @@ WinNtBlockIoDriverConfigurationForceDefaults (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
|
|
@ -197,7 +197,7 @@ WinNtBlockIoDriverDiagnosticsRunDiagnostics (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
gWinNtBlockIoDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
|
|
@ -158,7 +158,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -233,7 +233,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -360,7 +360,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiBlockIoProtocolGuid,
|
&gEfiBlockIoProtocolGuid,
|
||||||
&BlockIo,
|
(VOID **) &BlockIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -362,7 +362,7 @@ WinNtGopComponentNameGetControllerName (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiGraphicsOutputProtocolGuid,
|
&gEfiGraphicsOutputProtocolGuid,
|
||||||
&GraphicsOutput,
|
(VOID **) &GraphicsOutput,
|
||||||
gWinNtGopDriverBinding.DriverBindingHandle,
|
gWinNtGopDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -132,7 +132,7 @@ WinNtGopDriverBindingSupported (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -185,7 +185,7 @@ WinNtGopDriverBindingStart (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -309,7 +309,7 @@ WinNtGopDriverBindingStop (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiGraphicsOutputProtocolGuid,
|
&gEfiGraphicsOutputProtocolGuid,
|
||||||
&GraphicsOutput,
|
(VOID **) &GraphicsOutput,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -813,7 +813,7 @@ WinNtGopSimpleTextInExUnregisterKeyNotify (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
NotificationHandle,
|
NotificationHandle,
|
||||||
&gSimpleTextInExNotifyGuid,
|
&gSimpleTextInExNotifyGuid,
|
||||||
NULL,
|
(VOID **) NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
EFI_OPEN_PROTOCOL_TEST_PROTOCOL
|
EFI_OPEN_PROTOCOL_TEST_PROTOCOL
|
||||||
|
|
|
@ -345,7 +345,7 @@ WinNtSerialIoComponentNameGetControllerName (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ChildHandle,
|
ChildHandle,
|
||||||
&gEfiSerialIoProtocolGuid,
|
&gEfiSerialIoProtocolGuid,
|
||||||
&SerialIo,
|
(VOID **) &SerialIo,
|
||||||
gWinNtSerialIoDriverBinding.DriverBindingHandle,
|
gWinNtSerialIoDriverBinding.DriverBindingHandle,
|
||||||
ChildHandle,
|
ChildHandle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -132,7 +132,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiDevicePathProtocolGuid,
|
&gEfiDevicePathProtocolGuid,
|
||||||
&ParentDevicePath,
|
(VOID **) &ParentDevicePath,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -155,7 +155,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -271,7 +271,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiDevicePathProtocolGuid,
|
&gEfiDevicePathProtocolGuid,
|
||||||
&ParentDevicePath,
|
(VOID **) &ParentDevicePath,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -286,7 +286,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -327,7 +327,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
OpenInfoBuffer[Index].ControllerHandle,
|
OpenInfoBuffer[Index].ControllerHandle,
|
||||||
&gEfiSerialIoProtocolGuid,
|
&gEfiSerialIoProtocolGuid,
|
||||||
&SerialIo,
|
(VOID **) &SerialIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
@ -494,7 +494,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Handle,
|
Handle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Private->Handle,
|
Private->Handle,
|
||||||
EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER
|
EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER
|
||||||
|
@ -597,7 +597,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ChildHandleBuffer[Index],
|
ChildHandleBuffer[Index],
|
||||||
&gEfiSerialIoProtocolGuid,
|
&gEfiSerialIoProtocolGuid,
|
||||||
&SerialIo,
|
(VOID **) &SerialIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
Handle,
|
Handle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -366,7 +366,7 @@ WinNtSimpleFileSystemComponentNameGetControllerName (
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiSimpleFileSystemProtocolGuid,
|
&gEfiSimpleFileSystemProtocolGuid,
|
||||||
&SimpleFileSystem,
|
(VOID **) &SimpleFileSystem,
|
||||||
gWinNtSimpleFileSystemDriverBinding.DriverBindingHandle,
|
gWinNtSimpleFileSystemDriverBinding.DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
|
@ -255,7 +255,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -328,7 +328,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiWinNtIoProtocolGuid,
|
&gEfiWinNtIoProtocolGuid,
|
||||||
&WinNtIo,
|
(VOID **) &WinNtIo,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER
|
EFI_OPEN_PROTOCOL_BY_DRIVER
|
||||||
|
@ -459,7 +459,7 @@ Returns:
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiSimpleFileSystemProtocolGuid,
|
&gEfiSimpleFileSystemProtocolGuid,
|
||||||
&SimpleFileSystem,
|
(VOID **) &SimpleFileSystem,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||||
|
|
Loading…
Reference in New Issue