]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/DmaLib.h
EmbeddedPkg: Apply uncrustify changes
[mirror_edk2.git] / EmbeddedPkg / Include / Library / DmaLib.h
index 9f6e7a9d28c85e87a88fcff735508c364762dfb1..44bc71a1f6e7c3340c83d0392bd2c7e18b003437 100644 (file)
@@ -51,9 +51,6 @@ typedef enum {
   MapOperationMaximum\r
 } DMA_MAP_OPERATION;\r
 \r
-\r
-\r
-\r
 /**\r
   Provides the DMA controller-specific addresses needed to access system memory.\r
 \r
@@ -77,16 +74,13 @@ typedef enum {
 EFI_STATUS\r
 EFIAPI\r
 DmaMap (\r
-  IN     DMA_MAP_OPERATION              Operation,\r
-  IN     VOID                           *HostAddress,\r
-  IN OUT UINTN                          *NumberOfBytes,\r
-  OUT    PHYSICAL_ADDRESS               *DeviceAddress,\r
-  OUT    VOID                           **Mapping\r
+  IN     DMA_MAP_OPERATION  Operation,\r
+  IN     VOID               *HostAddress,\r
+  IN OUT UINTN              *NumberOfBytes,\r
+  OUT    PHYSICAL_ADDRESS   *DeviceAddress,\r
+  OUT    VOID               **Mapping\r
   );\r
 \r
-\r
-\r
-\r
 /**\r
   Completes the DmaMapBusMasterRead, DmaMapBusMasterWrite, or DmaMapBusMasterCommonBuffer\r
   operation and releases any corresponding resources.\r
@@ -100,10 +94,9 @@ DmaMap (
 EFI_STATUS\r
 EFIAPI\r
 DmaUnmap (\r
-  IN  VOID                         *Mapping\r
+  IN  VOID  *Mapping\r
   );\r
 \r
-\r
 /**\r
   Allocates pages that are suitable for an DmaMap() of type MapOperationBusMasterCommonBuffer.\r
   mapping.\r
@@ -124,12 +117,11 @@ DmaUnmap (
 EFI_STATUS\r
 EFIAPI\r
 DmaAllocateBuffer (\r
-  IN  EFI_MEMORY_TYPE              MemoryType,\r
-  IN  UINTN                        Pages,\r
-  OUT VOID                         **HostAddress\r
+  IN  EFI_MEMORY_TYPE  MemoryType,\r
+  IN  UINTN            Pages,\r
+  OUT VOID             **HostAddress\r
   );\r
 \r
-\r
 /**\r
   Frees memory that was allocated with DmaAllocateBuffer().\r
 \r
@@ -144,11 +136,10 @@ DmaAllocateBuffer (
 EFI_STATUS\r
 EFIAPI\r
 DmaFreeBuffer (\r
-  IN  UINTN                        Pages,\r
-  IN  VOID                         *HostAddress\r
+  IN  UINTN  Pages,\r
+  IN  VOID   *HostAddress\r
   );\r
 \r
-\r
 /**\r
   Allocates pages that are suitable for an DmaMap() of type\r
   MapOperationBusMasterCommonBuffer mapping, at the requested alignment.\r
@@ -171,11 +162,10 @@ DmaFreeBuffer (
 EFI_STATUS\r
 EFIAPI\r
 DmaAllocateAlignedBuffer (\r
-  IN  EFI_MEMORY_TYPE              MemoryType,\r
-  IN  UINTN                        Pages,\r
-  IN  UINTN                        Alignment,\r
-  OUT VOID                         **HostAddress\r
+  IN  EFI_MEMORY_TYPE  MemoryType,\r
+  IN  UINTN            Pages,\r
+  IN  UINTN            Alignment,\r
+  OUT VOID             **HostAddress\r
   );\r
 \r
-\r
 #endif\r