]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.h
DynamicTablesPkg: Apply uncrustify changes
[mirror_edk2.git] / DynamicTablesPkg / Library / Common / TableHelperLib / ConfigurationManagerObjectParser.h
index e229df7095d9e5c130970c934bbf7a780478ce9c..3204f5314340dee64104be7353c679bd73e95e0d 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef CONFIGURATION_MANAGER_OBJECT_PARSER_H_\r
 #define CONFIGURATION_MANAGER_OBJECT_PARSER_H_\r
 \r
-#define OUTPUT_FIELD_COLUMN_WIDTH   32\r
+#define OUTPUT_FIELD_COLUMN_WIDTH  32\r
 \r
 /** Function prototype to format a field print.\r
 \r
@@ -17,7 +17,7 @@
                       the 'Format' member of ACPI_PARSER.\r
   @param [in] Ptr     Pointer to the start of the buffer.\r
 **/\r
-typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8* Format, UINT8* Ptr);\r
+typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr);\r
 \r
 /**\r
   The CM_OBJ_PARSER structure describes the fields of an CmObject and\r
@@ -28,30 +28,29 @@ typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8* Format, UINT8* Ptr);
 */\r
 typedef struct CmObjParser CM_OBJ_PARSER;\r
 struct CmObjParser {\r
-\r
   /// String describing the Cm Object\r
-  CONST CHAR8*            NameStr;\r
+  CONST CHAR8              *NameStr;\r
 \r
   /// The length of the field.\r
-  UINT32                  Length;\r
+  UINT32                   Length;\r
 \r
   /// Optional Print() style format string for tracing the data. If not\r
   /// used this must be set to NULL.\r
-  CONST CHAR8*            Format;\r
+  CONST CHAR8              *Format;\r
 \r
   /// Optional pointer to a print formatter function which\r
   /// is typically used to trace complex field information.\r
   /// If not used this must be set to NULL.\r
   /// The Format string is passed to the PrintFormatter function\r
   /// but may be ignored by the implementation code.\r
-  FNPTR_PRINT_FORMATTER   PrintFormatter;\r
+  FNPTR_PRINT_FORMATTER    PrintFormatter;\r
 \r
   /// Optional pointer to print the fields of another CM_OBJ_PARSER\r
   /// structure. This is useful to print sub-structures.\r
-  CONST CM_OBJ_PARSER     *SubObjParser;\r
+  CONST CM_OBJ_PARSER      *SubObjParser;\r
 \r
   /// Count of items in the SubObj.\r
-  UINTN                   SubObjItemCount;\r
+  UINTN                    SubObjItemCount;\r
 };\r
 \r
 /**\r
@@ -59,15 +58,14 @@ struct CmObjParser {
   with their object names.\r
 */\r
 typedef struct CmObjParserArray {\r
-\r
   /// Object name\r
-  CONST CHAR8         ObjectName;\r
+  CONST CHAR8            *ObjectName;\r
 \r
   /// Function pointer to the parser\r
-  CONST CM_OBJ_PARSER Parser;\r
+  CONST CM_OBJ_PARSER    *Parser;\r
 \r
   /// Count of items\r
-  UINTN                 ItemCount;\r
+  UINTN                  ItemCount;\r
 } CM_OBJ_PARSER_ARRAY;\r
 \r
 #endif // CONFIGURATION_MANAGER_OBJECT_PARSER_H_\r