]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi/UefiSpec.h
MdePkg: Fix OUT parameters marked as IN OUT
[mirror_edk2.git] / MdePkg / Include / Uefi / UefiSpec.h
index 3547345bd6242f33afead8bae9159bd3a6ed0367..558e1bce2e41fa2f59b6dd45c4563958faf5f406 100644 (file)
@@ -211,7 +211,7 @@ EFI_STATUS
                                          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
@@ -232,7 +232,7 @@ typedef
 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
@@ -1556,7 +1556,7 @@ EFI_STATUS
   @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
@@ -1574,7 +1574,7 @@ EFI_STATUS
   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