-/** @file\r
+/** @file\r
Provides firmware device specific services to support updates of a firmware\r
image stored in a firmware device.\r
\r
EFI_STATUS\r
EFIAPI\r
FmpDeviceGetSize (\r
- IN UINTN *Size\r
+ OUT UINTN *Size\r
)\r
{\r
if (Size == NULL) {\r
EFI_STATUS\r
EFIAPI\r
FmpDeviceGetAttributes (\r
- IN OUT UINT64 *Supported,\r
- IN OUT UINT64 *Setting\r
+ OUT UINT64 *Supported,\r
+ OUT UINT64 *Setting\r
)\r
{\r
if (Supported == NULL || Setting == NULL) {\r
a copy currently stored firmware image. This can be used to support\r
features such as recovery and rollback.\r
\r
- @param[out] Image Pointer to a caller allocated buffer where the\r
+ @param[out] Image Pointer to a caller allocated buffer where the\r
currently stored firmware image is copied to.\r
- @param[in out] ImageSize Pointer the size, in bytes, of the Image buffer.\r
+ @param[in, out] ImageSize Pointer the size, in bytes, of the Image buffer.\r
On return, points to the size, in bytes, of firmware\r
image currently stored in the firmware device.\r
\r
EFI_STATUS\r
EFIAPI\r
FmpDeviceGetImage (\r
- IN OUT VOID *Image,\r
- IN IN OUT UINTN *ImageSize\r
+ OUT VOID *Image,\r
+ IN OUT UINTN *ImageSize\r
)\r
{\r
return EFI_UNSUPPORTED;\r
\r
@retval EFI_SUCCESS The image was successfully checked. Additional\r
status information is returned in\r
- ImageUpdateable.\r
+ ImageUpdatable.\r
@retval EFI_INVALID_PARAMETER Image is NULL.\r
- @retval EFI_INVALID_PARAMETER ImageUpdateable is NULL.\r
+ @retval EFI_INVALID_PARAMETER ImageUpdatable is NULL.\r
\r
**/\r
EFI_STATUS\r
FmpDeviceCheckImage (\r
IN CONST VOID *Image,\r
IN UINTN ImageSize,\r
- OUT UINT32 *ImageUpdateable\r
+ OUT UINT32 *ImageUpdatable\r
)\r
{\r
return EFI_SUCCESS;\r