Some OUT parameters in the specification were mistakenly marked as IN OUT.
"IN OUT" replaced with "OUT" in the following interfaces
EFI_BOOT_SERVICES.GetMemoryMap():MemoryMap
EFI_BOOT_SERVICES.LocateHandleBuffer():NoHandles
EFI_SIMPLE_POINTER_PROTOCOL.GetState():State
EFI_ABSOLUTE_POINTER_PROTOCOL.GetState():State
EFI_EDID_OVERRIDE_PROTOCOL.GetEdid():EdidSize and Edid
EFI_ATA_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath
EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath
EFI_SD_MMC_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath
EFI_EXT_SCSI_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath
EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImage():Image
(UEFI 2.8 errata a, mantis 2035)
Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
EFI_STATUS\r
(EFIAPI *EFI_ABSOLUTE_POINTER_GET_STATE)(\r
IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,\r
- IN OUT EFI_ABSOLUTE_POINTER_STATE *State\r
+ OUT EFI_ABSOLUTE_POINTER_STATE *State\r
);\r
\r
\r
@param[in] PortMultiplierPort The port multiplier port number of the ATA device for which a\r
device path node is to be allocated and built. If there is no\r
port multiplier, then specify 0xFFFF.\r
- @param[in,out] DevicePath A pointer to a single device path node that describes the ATA\r
+ @param[out] DevicePath A pointer to a single device path node that describes the ATA\r
device specified by Port and PortMultiplierPort. This function\r
is responsible for allocating the buffer DevicePath with the\r
boot service AllocatePool(). It is the caller's responsibility\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port,\r
IN UINT16 PortMultiplierPort,\r
- IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
+ OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
);\r
\r
/**\r
IN EFI_EDID_OVERRIDE_PROTOCOL *This,\r
IN EFI_HANDLE *ChildHandle,\r
OUT UINT32 *Attributes,\r
- IN OUT UINTN *EdidSize,\r
- IN OUT UINT8 **Edid\r
+ OUT UINTN *EdidSize,\r
+ OUT UINT8 **Edid\r
);\r
\r
///\r
@param[in] This A pointer to the EFI_FIRMWARE_MANAGEMENT_PROTOCOL instance.\r
@param[in] ImageIndex A unique number identifying the firmware image(s) within the device.\r
The number is between 1 and DescriptorCount.\r
- @param[in, out] Image Points to the buffer where the current image is copied to.\r
+ @param[out] Image Points to the buffer where the current image is copied to.\r
@param[in, out] ImageSize On entry, points to the size of the buffer pointed to by Image, in bytes.\r
On return, points to the length of the image, in bytes.\r
\r
(EFIAPI *EFI_FIRMWARE_MANAGEMENT_PROTOCOL_GET_IMAGE)(\r
IN EFI_FIRMWARE_MANAGEMENT_PROTOCOL *This,\r
IN UINT8 ImageIndex,\r
- IN OUT VOID *Image,\r
+ OUT VOID *Image,\r
IN OUT UINTN *ImageSize\r
);\r
\r
@param[in] NamespaceId The NVM Express namespace ID for which a device path node is to be\r
allocated and built. Caller must set the NamespaceId to zero if the\r
device path node will contain a valid UUID.\r
- @param[in,out] DevicePath A pointer to a single device path node that describes the NVM Express\r
+ @param[out] DevicePath A pointer to a single device path node that describes the NVM Express\r
namespace specified by NamespaceId. This function is responsible for\r
allocating the buffer DevicePath with the boot service AllocatePool().\r
It is the caller's responsibility to free DevicePath when the caller\r
(EFIAPI *EFI_NVM_EXPRESS_PASS_THRU_BUILD_DEVICE_PATH)(\r
IN EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL *This,\r
IN UINT32 NamespaceId,\r
- IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
+ OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
);\r
\r
/**\r
IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This,\r
IN UINT8 *Target,\r
IN UINT64 Lun,\r
- IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
+ OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
);\r
\r
/**\r
@param[in] This A pointer to the EFI_SD_MMMC_PASS_THRU_PROTOCOL instance.\r
@param[in] Slot Specifies the slot number of the SD card for which a device\r
path node is to be allocated and built.\r
- @param[in,out] DevicePath A pointer to a single device path node that describes the SD\r
+ @param[out] DevicePath A pointer to a single device path node that describes the SD\r
card specified by Slot. This function is responsible for\r
allocating the buffer DevicePath with the boot service\r
AllocatePool(). It is the caller's responsibility to free\r
(EFIAPI *EFI_SD_MMC_PASS_THRU_BUILD_DEVICE_PATH) (\r
IN EFI_SD_MMC_PASS_THRU_PROTOCOL *This,\r
IN UINT8 Slot,\r
- IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
+ OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath\r
);\r
\r
/**\r
EFI_STATUS\r
(EFIAPI *EFI_SIMPLE_POINTER_GET_STATE)(\r
IN EFI_SIMPLE_POINTER_PROTOCOL *This,\r
- IN OUT EFI_SIMPLE_POINTER_STATE *State\r
+ OUT EFI_SIMPLE_POINTER_STATE *State\r
);\r
\r
///\r
On output, it is the size of the buffer returned by the firmware if\r
the buffer was large enough, or the size of the buffer needed to contain\r
the map if the buffer was too small.\r
- @param[in, out] MemoryMap A pointer to the buffer in which firmware places the current memory\r
+ @param[out] MemoryMap A pointer to the buffer in which firmware places the current memory\r
map.\r
@param[out] MapKey A pointer to the location in which firmware returns the key for the\r
current memory map.\r
EFI_STATUS\r
(EFIAPI *EFI_GET_MEMORY_MAP)(\r
IN OUT UINTN *MemoryMapSize,\r
- IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,\r
+ OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,\r
OUT UINTN *MapKey,\r
OUT UINTN *DescriptorSize,\r
OUT UINT32 *DescriptorVersion\r
@param[in] Protocol Provides the protocol to search by.\r
This parameter is only valid for a SearchType of ByProtocol.\r
@param[in] SearchKey Supplies the search key depending on the SearchType.\r
- @param[in, out] NoHandles The number of handles returned in Buffer.\r
+ @param[out] NoHandles The number of handles returned in Buffer.\r
@param[out] Buffer A pointer to the buffer to return the requested array of handles that\r
support Protocol.\r
\r
IN EFI_LOCATE_SEARCH_TYPE SearchType,\r
IN EFI_GUID *Protocol, OPTIONAL\r
IN VOID *SearchKey, OPTIONAL\r
- IN OUT UINTN *NoHandles,\r
+ OUT UINTN *NoHandles,\r
OUT EFI_HANDLE **Buffer\r
);\r
\r