summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/FirmwareVolumeBlock.h
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-20 01:52:31 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-20 01:52:31 +0000
commitde339b9d7901bf50b074400f09316c4a6b4caccb (patch)
tree7d250ac16f2068f8806c87cd90398b7cc294f57e /MdePkg/Include/Protocol/FirmwareVolumeBlock.h
parent27134a44c53cdde976516d2c37ee0bd680017307 (diff)
downloadedk2-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/Include/Protocol/FirmwareVolumeBlock.h')
-rw-r--r--MdePkg/Include/Protocol/FirmwareVolumeBlock.h10
1 files changed, 5 insertions, 5 deletions
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
);