]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHcMem.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Bus / Ufs / UfsBlockIoPei / UfsHcMem.h
index b47d05a1a5ed81cd2eef88a0e58a74327c93b6d0..6bde93765d2c2f3295149d1b0a67591757276dd3 100644 (file)
@@ -9,7 +9,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #ifndef _UFS_PEIM_MEM_H_\r
 #define _UFS_PEIM_MEM_H_\r
 \r
-#define UFS_PEIM_MEM_BIT(a)          ((UINTN)(1 << (a)))\r
+#define UFS_PEIM_MEM_BIT(a)  ((UINTN)(1 << (a)))\r
 \r
 #define UFS_PEIM_MEM_BIT_IS_SET(Data, Bit)   \\r
           ((BOOLEAN)(((Data) & UFS_PEIM_MEM_BIT(Bit)) == UFS_PEIM_MEM_BIT(Bit)))\r
@@ -17,23 +17,23 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 typedef struct _UFS_PEIM_MEM_BLOCK UFS_PEIM_MEM_BLOCK;\r
 \r
 struct _UFS_PEIM_MEM_BLOCK {\r
-  UINT8                   *Bits;    // Bit array to record which unit is allocated\r
-  UINTN                   BitsLen;\r
-  UINT8                   *Buf;\r
-  UINT8                   *BufHost;\r
-  UINTN                   BufLen;   // Memory size in bytes\r
-  VOID                    *Mapping;\r
-  UFS_PEIM_MEM_BLOCK      *Next;\r
+  UINT8                 *Bits;      // Bit array to record which unit is allocated\r
+  UINTN                 BitsLen;\r
+  UINT8                 *Buf;\r
+  UINT8                 *BufHost;\r
+  UINTN                 BufLen;     // Memory size in bytes\r
+  VOID                  *Mapping;\r
+  UFS_PEIM_MEM_BLOCK    *Next;\r
 };\r
 \r
 typedef struct _UFS_PEIM_MEM_POOL {\r
-  UFS_PEIM_MEM_BLOCK         *Head;\r
+  UFS_PEIM_MEM_BLOCK    *Head;\r
 } UFS_PEIM_MEM_POOL;\r
 \r
 //\r
 // Memory allocation unit, note that the value must meet UFS spec alignment requirement.\r
 //\r
-#define UFS_PEIM_MEM_UNIT           128\r
+#define UFS_PEIM_MEM_UNIT  128\r
 \r
 #define UFS_PEIM_MEM_UNIT_MASK      (UFS_PEIM_MEM_UNIT - 1)\r
 #define UFS_PEIM_MEM_DEFAULT_PAGES  16\r
@@ -53,4 +53,3 @@ typedef struct _UFS_PEIM_MEM_POOL {
           } while (0)\r
 \r
 #endif\r
-\r