-\r
-\r
-/**\r
- The Firmware Volume Block Protocol is the low-level interface\r
- to a firmware volume. File-level access to a firmware volume\r
- should not be done using the Firmware Volume Block Protocol.\r
- Normal access to a firmware volume must use the Firmware\r
- Volume Protocol. Typically, only the file system driver that\r
- produces the Firmware Volume Protocol will bind to the\r
- Firmware Volume Block Protocol. The Firmware Volume Block\r
- Protocol provides the following:\r
- - Byte-level read/write functionality.\r
- - Block-level erase functionality.\r
- - It further exposes device-hardening features, such as may be\r
- equired to protect the firmware from unwanted overwriting\r
- and/or erasure.\r
- - It is useful to layer a file system driver on top of the\r
- Firmware Volume Block Protocol.\r
-\r
- This file system driver produces the Firmware Volume Protocol,\r
- which provides file-level access to a firmware volume. The\r
- Firmware Volume Protocol abstracts the file system that is\r
- used to format the firmware volume and the hardware\r
- device-hardening features that may be present.\r
-\r
-\r
- @param GetPhysicalAddress Retrieves the memory-mapped\r
- address of the firmware volume.\r
- See the GetPhysicalAddress()\r
- function description. \r
-\r
- @param GetBlockSize Retrieves the size for a specific block.\r
- Also returns the number of consecutive\r
- similarly sized blocks. See the\r
- GetBlockSize() function description.\r
-\r
- @param Read Reads n bytes into a buffer from the firmware\r
- volume hardware. See the Read() function\r
- description.\r
-\r
- @param Write Writes n bytes from a buffer into the firmware\r
- volume hardware. See the Write() function\r
- description.\r
-\r
- @param EraseBlocks Erases specified block(s) and sets all\r
- values as indicated by the\r
- EFI_FVB_ERASE_POLARITY bit. See the\r
- EraseBlocks() function description. Type\r
- EFI_FVB_ERASE_POLARITY is defined in\r
- EFI_FIRMWARE_VOLUME_HEADER. ParentHandle\r
- Handle of the parent firmware volume. Type\r
- EFI_HANDLE is defined in\r
- InstallProtocolInterface() in the UEFI 2.0\r
- specification.\r
- \r
- @param GetAttributes Retrieves the current volume attributes.\r
- See the GetAttributes() function\r
- description.\r
- \r
- @param SetAttributes Sets the current volume attributes. See\r
- the SetAttributes() function description.\r
- \r
-\r
-**/\r
-struct _EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL {\r
+///\r
+/// The Firmware Volume Block Protocol is the low-level interface\r
+/// to a firmware volume. File-level access to a firmware volume\r
+/// should not be done using the Firmware Volume Block Protocol.\r
+/// Normal access to a firmware volume must use the Firmware\r
+/// Volume Protocol. Typically, only the file system driver that\r
+/// produces the Firmware Volume Protocol will bind to the\r
+/// Firmware Volume Block Protocol.\r
+///\r
+struct _EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL{\r