diff --git a/MdePkg/Include/Protocol/FirmwareVolume2.h b/MdePkg/Include/Protocol/FirmwareVolume2.h index 474e0cfab6..42ad7e65fc 100644 --- a/MdePkg/Include/Protocol/FirmwareVolume2.h +++ b/MdePkg/Include/Protocol/FirmwareVolume2.h @@ -418,8 +418,8 @@ EFI_STATUS (EFIAPI * EFI_FV_READ_SECTION) ( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, - IN CONST EFI_SECTION_TYPE SectionType, - IN CONST UINTN SectionInstance, + IN EFI_SECTION_TYPE SectionType, + IN UINTN SectionInstance, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT UINT32 *AuthenticationStatus diff --git a/MdePkg/Include/Protocol/FirmwareVolumeBlock.h b/MdePkg/Include/Protocol/FirmwareVolumeBlock.h index b059edf4b3..4c844bf679 100644 --- a/MdePkg/Include/Protocol/FirmwareVolumeBlock.h +++ b/MdePkg/Include/Protocol/FirmwareVolumeBlock.h @@ -147,7 +147,7 @@ typedef EFI_STATUS (EFIAPI * EFI_FVB_GET_BLOCK_SIZE) ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, - IN CONST EFI_LBA Lba, + IN EFI_LBA Lba, OUT UINTN *BlockSize, OUT UINTN *NumberOfBlocks ); @@ -203,8 +203,8 @@ typedef EFI_STATUS (EFIAPI *EFI_FVB_READ) ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, - IN CONST EFI_LBA Lba, - IN CONST UINTN Offset, + IN EFI_LBA Lba, + IN UINTN Offset, IN OUT UINTN *NumBytes, IN OUT UINT8 *Buffer ); @@ -276,8 +276,8 @@ typedef EFI_STATUS (EFIAPI * EFI_FVB_WRITE) ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, - IN CONST EFI_LBA Lba, - IN CONST UINTN Offset, + IN EFI_LBA Lba, + IN UINTN Offset, IN OUT UINTN *NumBytes, IN CONST UINT8 *Buffer );