mirror of https://github.com/acidanthera/audk.git
Update the CONST modifier to be the same with spec.
Buffer of EFI_FVB_WRITE should have CONST, but the PI spec miss it out. This should be an errata. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3378 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
27134a44c5
commit
de339b9d79
|
@ -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
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue