/** @file\r
This file provides control over block-oriented firmware devices.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation \r
+ Copyright (c) 2006 - 2009, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#ifndef __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__\r
#define __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__\r
\r
+#define FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID \\r
+{ 0xDE28BC59, 0x6228, 0x41BD, {0xBD, 0xF6, 0xA3, 0xB9, 0xAD,0xB5, 0x8D, 0xA1 } }\r
\r
typedef struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL;\r
///\r
-/// type of EFI FVB attribute per Frameowrk spec\r
+/// type of EFI FVB attribute per Framework spec\r
/// \r
typedef UINT32 EFI_FVB_ATTRIBUTES;\r
\r
/**\r
The GetAttributes() function retrieves the attributes and\r
- current settings of the block. Status Codes Returned\r
+ current settings of the block. \r
\r
@param This Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
\r
\r
@param Offset Offset into the block at which to begin writing.\r
\r
- @param NumBytes Pointer to a UINTN. At entry, *NumBytes\r
- contains the total size of the buffer. At\r
- exit, *NumBytes contains the total number of\r
- bytes actually written.\r
+ @param NumBytes Pointer to a UINTN. Input: the total size of the buffer.\r
+ Output: the total number of bytes actually written.\r
\r
@param Buffer Pointer to a caller-allocated buffer that\r
contains the source for the write.\r
@param This Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL\r
instance.\r
\r
- @param ... The variable argument list is a list of tuples.\r
+ @param ... A list of tuples.\r
Each tuple describes a range of LBAs to erase\r
and consists of the following:\r
- An EFI_LBA that indicates the starting LBA\r
EFI_HANDLE ParentHandle;\r
};\r
\r
-\r
+extern EFI_GUID gFramerworkEfiFirmwareVolumeBlockProtocolGuid;\r
\r
#endif\r