summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/RuntimeDxe
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-12 03:51:28 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-12 03:51:28 +0000
commit8ef571dfb56dc8720d217ab9aa6efa5f025641c9 (patch)
tree725a07a933e469eea26c4dd9875bcdd4be7549d7 /EdkUnixPkg/RuntimeDxe
parent6c31fdb8879f46684210cd5c01d9b3246edeb0ad (diff)
downloadedk2-platforms-8ef571dfb56dc8720d217ab9aa6efa5f025641c9.tar.xz
fix some minor warning for unix package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2230 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/RuntimeDxe')
-rw-r--r--EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c10
-rw-r--r--EdkUnixPkg/RuntimeDxe/FvbServices/FvbInfo.c24
2 files changed, 21 insertions, 13 deletions
diff --git a/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c b/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
index 84c40f4314..fad36f8f0e 100644
--- a/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
+++ b/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
@@ -1255,7 +1255,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
sizeof (ESAL_FWB_GLOBAL),
- &mFvbModuleGlobal
+ (VOID**) &mFvbModuleGlobal
);
ASSERT_EFI_ERROR (Status);
@@ -1309,7 +1309,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
BufferSize,
- &mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]
+ (VOID**) &mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]
);
ASSERT_EFI_ERROR (Status);
@@ -1395,7 +1395,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
sizeof (EFI_FW_VOL_BLOCK_DEVICE),
- &FvbDevice
+ (VOID**) &FvbDevice
);
ASSERT_EFI_ERROR (Status);
@@ -1437,7 +1437,7 @@ Returns:
Status = gBS->HandleProtocol (
FwbHandle,
&gEfiFirmwareVolumeBlockProtocolGuid,
- &OldFwbInterface
+ (VOID**)&OldFwbInterface
);
ASSERT_EFI_ERROR (Status);
@@ -1484,7 +1484,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
MaxLbaSize,
- &mFvbModuleGlobal->FvbScratchSpace[FVB_PHYSICAL]
+ (VOID**)&mFvbModuleGlobal->FvbScratchSpace[FVB_PHYSICAL]
);
ASSERT_EFI_ERROR (Status);
diff --git a/EdkUnixPkg/RuntimeDxe/FvbServices/FvbInfo.c b/EdkUnixPkg/RuntimeDxe/FvbServices/FvbInfo.c
index d079423af8..5c152ea65f 100644
--- a/EdkUnixPkg/RuntimeDxe/FvbServices/FvbInfo.c
+++ b/EdkUnixPkg/RuntimeDxe/FvbServices/FvbInfo.c
@@ -62,13 +62,17 @@ EFI_FVB_MEDIA_INFO mPlatformFvbMediaInfo[] = {
}, // Reserved[3]
1, // Revision
{
- RECOVERY_BOIS_BLOCK_NUM,
- FVB_MEDIA_BLOCK_SIZE,
+ {
+ RECOVERY_BOIS_BLOCK_NUM,
+ FVB_MEDIA_BLOCK_SIZE
+ }
}
},
{
- 0,
- 0
+ {
+ 0,
+ 0
+ }
}
},
//
@@ -95,13 +99,17 @@ EFI_FVB_MEDIA_INFO mPlatformFvbMediaInfo[] = {
}, // Reserved[3]
1, // Revision
{
- SYSTEM_NV_BLOCK_NUM,
- FVB_MEDIA_BLOCK_SIZE,
+ {
+ SYSTEM_NV_BLOCK_NUM,
+ FVB_MEDIA_BLOCK_SIZE
+ }
}
},
{
- 0,
- 0
+ {
+ 0,
+ 0
+ }
}
}
};