summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-01 02:50:51 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-01 02:50:51 +0000
commit6394182967f63d4a97a1c882861d9958657112bb (patch)
tree7a31f992b16b90deb1ea0924f8645b75a919207e /Nt32Pkg
parent86026b9dffba1deaf1f26e9b0bd8598ee2f5dbea (diff)
downloadedk2-6394182967f63d4a97a1c882861d9958657112bb.tar.gz
edk2-6394182967f63d4a97a1c882861d9958657112bb.tar.bz2
edk2-6394182967f63d4a97a1c882861d9958657112bb.zip
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
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/WinNtBlockIoDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c6
-rw-r--r--Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c2
-rw-r--r--Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c6
-rw-r--r--Nt32Pkg/WinNtGopDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c6
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopInput.c2
-rw-r--r--Nt32Pkg/WinNtSerialIoDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c14
-rw-r--r--Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c6
11 files changed, 25 insertions, 25 deletions
diff --git a/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c b/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c
index 6a75874c97..8e23b41af6 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 23cf7ef720..d0a2158e6d 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 b2bb309a05..f0b30e6eb0 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 9dbecae24b..a738fcd3dc 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 9799d66b1b..6387fc9be4 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 4f37707f66..b100bde51f 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 acf838b630..ff768cb998 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 507268c8ef..dcd7e3c160 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 1419c5a653..e12f14dc29 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 60bea91ed7..41e58fc950 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 9484c3faa3..c267cf2a1a 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