1) Update SetPeiServicesTablePointer's prototype add CONST modifier.
2) Move STRING_REF from MdePkg/Include/Uefi/UefiBaseType.h to IntelFramework/Include/Protocol/FrameworkHii.h. 3) Move RELOFST from MdePkg/Include/Uefi/UefiInternalFormRepresentation.h to IntelFramework/Include/Protocol/FrameworkHii.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6166 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -387,7 +387,7 @@ FirmwareVolmeInfoPpiNotifyCallback (
|
||||
//
|
||||
// Process FvFile to install FvInfo ppi and build FvHob
|
||||
//
|
||||
ProcessFvFile (PeiServices, FileHandle, &AuthenticationStatus);
|
||||
ProcessFvFile ((CONST EFI_PEI_SERVICES **) PeiServices, FileHandle, &AuthenticationStatus);
|
||||
}
|
||||
} while (FileHandle != NULL);
|
||||
}
|
||||
@@ -837,9 +837,9 @@ PeiFfsGetVolumeInfo (
|
||||
**/
|
||||
EFI_STATUS
|
||||
ProcessFvFile (
|
||||
IN EFI_PEI_SERVICES **PeiServices,
|
||||
IN EFI_PEI_FILE_HANDLE FvFileHandle,
|
||||
OUT UINT32 *AuthenticationState
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices,
|
||||
IN EFI_PEI_FILE_HANDLE FvFileHandle,
|
||||
OUT UINT32 *AuthenticationState
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
@@ -871,7 +871,7 @@ ProcessFvFile (
|
||||
// Find FvImage in FvFile
|
||||
//
|
||||
Status = PeiFfsFindSectionData (
|
||||
(CONST EFI_PEI_SERVICES **) PeiServices,
|
||||
PeiServices,
|
||||
EFI_SECTION_FIRMWARE_VOLUME_IMAGE,
|
||||
FvFileHandle,
|
||||
(VOID **)&FvImageHandle
|
||||
|
Reference in New Issue
Block a user