]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/FirmwareVolume.h
Committing changes to the comments, after review with engineers.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / FirmwareVolume.h
index 981fb57704ce68a0efe74aba159abe3b27a0557b..8e6f450c6c097c719c15d201c7d4cd280caed222 100644 (file)
@@ -83,11 +83,11 @@ typedef UINT64  FRAMEWORK_EFI_FV_ATTRIBUTES;
 //\r
 \r
 /**\r
-  Retrieves attributes, insures positive polarity of attribute bits, returns\r
+  Retrieves attributes, insures positive polarity of attribute bits, and returns\r
   resulting attributes in output parameter\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  Attributes            output buffer which contains attributes\r
+  @param  Attributes            Output buffer containing attributes\r
 \r
   @retval EFI_SUCCESS           The firmware volume attributes were returned.\r
 **/\r
@@ -104,7 +104,7 @@ EFI_STATUS
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   @param  Attributes            On input, Attributes is a pointer to an \r
                                 EFI_FV_ATTRIBUTES containing the desired firmware \r
-                                volume settings.n successful return, it contains \r
+                                volume settings. On successful return, it contains \r
                                 the new settings of the firmware volume. On \r
                                 unsuccessful return, Attributes is not modified \r
                                 and the firmware volume settings are not changed.\r
@@ -113,7 +113,7 @@ EFI_STATUS
   @retval EFI_SUCCESS           The requested firmware volume attributes were set \r
                                 and the resulting EFI_FV_ATTRIBUTES is returned in\r
                                 Attributes.\r
-  @retval EFI_ACCESS_DENIED     the Device is locked and does not permit modification. \r
+  @retval EFI_ACCESS_DENIED     The Device is locked and does not permit modification. \r
 \r
 **/\r
 typedef\r
@@ -127,8 +127,8 @@ EFI_STATUS
   Read the requested file (NameGuid) or file information from the firmware volume \r
   and returns data in Buffer.\r
 \r
-  @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  NameGuid              pointer to EFI_GUID which is the filename identifying which file to read\r
+  @param  This                  The EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
+  @param  NameGuid              Pointer to EFI_GUID, which is the filename of the file to read\r
   @param  Buffer                Pointer to pointer to buffer in which contents of file are returned.\r
                                 <br>\r
                                 If Buffer is NULL, only type, attributes, and size are returned as\r
@@ -139,18 +139,18 @@ EFI_STATUS
                                 <br>\r
                                 If Buffer != NULL and *Buffer != NULL, the output buffer has been\r
                                 allocated by the caller and is being passed in.\r
-  @param  BufferSize            Indicates the buffer size passed in, and on output the size\r
+  @param  BufferSize            On input: The buffer size. On output: The size\r
                                 required to complete the read\r
-  @param  FoundType             pointer to type of the file who's data is returned\r
-  @param  FileAttributes        pointer to attributes of the file who's data is resturned\r
-  @param  AuthenticationStatus  pointer to authentication status of the data\r
+  @param  FoundType             Pointer to type of the file whose data is returned\r
+  @param  FileAttributes        Pointer to attributes of the file whose data is returned\r
+  @param  AuthenticationStatus  Pointer to authentication status of the data\r
 \r
   @retval EFI_SUCCESS               The call completed successfully\r
   @retval EFI_WARN_BUFFER_TOO_SMALL The buffer is too small to contain the requested output.\r
                                     The buffer is filled and the output is truncated.\r
-  @retval EFI_NOT_FOUND             NameGuid was not found inhe firmware volume.\r
+  @retval EFI_NOT_FOUND             NameGuid was not found in the firmware volume.\r
   @retval EFI_DEVICE_ERROR          A hardware error occurred when attempting to access the firmware volume.\r
-  @retval EFI_ACCESS_DENIED         The firmware volumen is configured to disallow reads.\r
+  @retval EFI_ACCESS_DENIED         The firmware volume is configured to disallow reads.\r
   @retval EFI_OUT_OF_RESOURCES      An allocation failure occurred.\r
 \r
 **/\r
@@ -171,8 +171,8 @@ EFI_STATUS
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   @param  NameGuid              Filename identifying the file from which to read\r
-  @param  SectionType           Indicates what section type to retrieve\r
-  @param  SectionInstance       Indicates which instance of SectionType to retrieve\r
+  @param  SectionType           The section type to retrieve\r
+  @param  SectionInstance       The instance of SectionType to retrieve\r
   @param  Buffer                Pointer to pointer to buffer in which contents of file are returned.\r
                                 <br>\r
                                 If Buffer is NULL, only type, attributes, and size are returned as\r
@@ -183,9 +183,9 @@ EFI_STATUS
                                 <br>\r
                                 If Buffer != NULL and *Buffer != NULL, the output buffer has been\r
                                 allocated by the caller and is being passed in.\r
-  @param  BufferSize            pointer to the buffer size passed in, and on output the size\r
+  @param  BufferSize            Pointer to the buffer size passed in, and on output the size\r
                                 required to complete the read\r
-  @param  AuthenticationStatus  pointer to the authentication status of the data\r
+  @param  AuthenticationStatus  Pointer to the authentication status of the data\r
 \r
   @retval EFI_SUCCESS                The call completed successfully.\r
   @retval EFI_WARN_BUFFER_TOO_SMALL  The buffer is too small to contain the requested output. \r
@@ -259,10 +259,10 @@ EFI_STATUS
   @param  Key                   Pointer to a caller allocated buffer that contains an implementation\r
                                 specific key that is used to track where to begin searching on\r
                                 successive calls.\r
-  @param  FileType              pointer to the file type to filter for\r
-  @param  NameGuid              pointer to Guid filename of the file found\r
-  @param  Attributes            pointer to Attributes of the file found\r
-  @param  Size                  pointer to Size in bytes of the file found\r
+  @param  FileType              Pointer to the file type to filter for\r
+  @param  NameGuid              Pointer to Guid filename of the file found\r
+  @param  Attributes            Pointer to Attributes of the file found\r
+  @param  Size                  Pointer to Size in bytes of the file found\r
 \r
   @retval EFI_SUCCESS           The output parameters are filled with data obtained from \r
                                 the first matching file that was found.\r