From 6394182967f63d4a97a1c882861d9958657112bb Mon Sep 17 00:00:00 2001 From: qwang12 Date: Sat, 1 Nov 2008 02:50:51 +0000 Subject: 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 --- Nt32Pkg/WinNtBlockIoDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c | 6 +++--- Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c | 2 +- Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c | 6 +++--- Nt32Pkg/WinNtGopDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c | 6 +++--- Nt32Pkg/WinNtGopDxe/WinNtGopInput.c | 2 +- Nt32Pkg/WinNtSerialIoDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c | 14 +++++++------- Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c | 6 +++--- 11 files changed, 25 insertions(+), 25 deletions(-) (limited to 'Nt32Pkg') diff --git a/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c b/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c index 6a75874..8e23b41 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c @@ -338,7 +338,7 @@ WinNtBlockIoComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiBlockIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c b/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c index 23cf7ef..d0a2158 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c +++ b/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c @@ -154,7 +154,7 @@ WinNtBlockIoDriverConfigurationSetOptions ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -239,7 +239,7 @@ WinNtBlockIoDriverConfigurationOptionsValid ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -315,7 +315,7 @@ WinNtBlockIoDriverConfigurationForceDefaults ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER diff --git a/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c b/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c index b2bb309..f0b30e6 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c +++ b/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c @@ -197,7 +197,7 @@ WinNtBlockIoDriverDiagnosticsRunDiagnostics ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c index 9dbecae..a738fcd 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c +++ b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c @@ -158,7 +158,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -233,7 +233,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -360,7 +360,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiBlockIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/ComponentName.c b/Nt32Pkg/WinNtGopDxe/ComponentName.c index 9799d66..6387fc9 100644 --- a/Nt32Pkg/WinNtGopDxe/ComponentName.c +++ b/Nt32Pkg/WinNtGopDxe/ComponentName.c @@ -362,7 +362,7 @@ WinNtGopComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, gWinNtGopDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c index 4f37707..b100bde 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c @@ -132,7 +132,7 @@ WinNtGopDriverBindingSupported ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -185,7 +185,7 @@ WinNtGopDriverBindingStart ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -309,7 +309,7 @@ WinNtGopDriverBindingStop ( Status = gBS->OpenProtocol ( Handle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c index acf838b..ff768cb 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c @@ -813,7 +813,7 @@ WinNtGopSimpleTextInExUnregisterKeyNotify ( Status = gBS->OpenProtocol ( NotificationHandle, &gSimpleTextInExNotifyGuid, - NULL, + (VOID **) NULL, NULL, NULL, EFI_OPEN_PROTOCOL_TEST_PROTOCOL diff --git a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c index 507268c..dcd7e3c 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c @@ -345,7 +345,7 @@ WinNtSerialIoComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ChildHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, gWinNtSerialIoDriverBinding.DriverBindingHandle, ChildHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c index 1419c5a..e12f14d 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c +++ b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c @@ -132,7 +132,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -155,7 +155,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -271,7 +271,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -286,7 +286,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -327,7 +327,7 @@ Returns: Status = gBS->OpenProtocol ( OpenInfoBuffer[Index].ControllerHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL @@ -494,7 +494,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Private->Handle, EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER @@ -597,7 +597,7 @@ Returns: Status = gBS->OpenProtocol ( ChildHandleBuffer[Index], &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c index 60bea91..41e58fc 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c @@ -366,7 +366,7 @@ WinNtSimpleFileSystemComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiSimpleFileSystemProtocolGuid, - &SimpleFileSystem, + (VOID **) &SimpleFileSystem, gWinNtSimpleFileSystemDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c index 9484c3f..c267cf2 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c @@ -255,7 +255,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -328,7 +328,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -459,7 +459,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiSimpleFileSystemProtocolGuid, - &SimpleFileSystem, + (VOID **) &SimpleFileSystem, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL -- cgit v1.1