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
This commit is contained in:
klu2
2007-01-12 03:51:28 +00:00
parent 6c31fdb887
commit 8ef571dfb5
17 changed files with 77 additions and 59 deletions

View File

@@ -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);

View File

@@ -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
}
}
}
};