diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-20 01:52:31 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-20 01:52:31 +0000 |
commit | de339b9d7901bf50b074400f09316c4a6b4caccb (patch) | |
tree | 7d250ac16f2068f8806c87cd90398b7cc294f57e /MdePkg | |
parent | 27134a44c53cdde976516d2c37ee0bd680017307 (diff) | |
download | edk2-platforms-de339b9d7901bf50b074400f09316c4a6b4caccb.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Protocol/FirmwareVolume2.h | 4 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/FirmwareVolumeBlock.h | 10 |
2 files changed, 7 insertions, 7 deletions
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
);
|