]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/OemMiscLib.h
ArmPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmPkg / Include / Library / OemMiscLib.h
index 0b03fe8d4de3e52e987206d03e1dbdf58b0298d7..569cd51352766fd85ad46d3c0f2f530f8d72ef9b 100644 (file)
@@ -8,15 +8,13 @@
 *\r
 **/\r
 \r
-\r
 #ifndef OEM_MISC_LIB_H_\r
 #define OEM_MISC_LIB_H_\r
 \r
 #include <Uefi.h>\r
 #include <IndustryStandard/SmBios.h>\r
 \r
-typedef enum\r
-{\r
+typedef enum {\r
   CpuCacheL1 = 1,\r
   CpuCacheL2,\r
   CpuCacheL3,\r
@@ -27,37 +25,35 @@ typedef enum
   CpuCacheLevelMax\r
 } OEM_MISC_CPU_CACHE_LEVEL;\r
 \r
-typedef struct\r
-{\r
-  UINT8 Voltage;        ///< Processor voltage\r
-  UINT16 CurrentSpeed;  ///< Current clock speed in MHz\r
-  UINT16 MaxSpeed;      ///< Maximum clock speed in MHz\r
-  UINT16 ExternalClock; ///< External clock speed in MHz\r
-  UINT16 CoreCount;     ///< Number of cores available\r
-  UINT16 CoresEnabled;  ///< Number of cores enabled\r
-  UINT16 ThreadCount;   ///< Number of threads per processor\r
+typedef struct {\r
+  UINT8     Voltage;       ///< Processor voltage\r
+  UINT16    CurrentSpeed;  ///< Current clock speed in MHz\r
+  UINT16    MaxSpeed;      ///< Maximum clock speed in MHz\r
+  UINT16    ExternalClock; ///< External clock speed in MHz\r
+  UINT16    CoreCount;     ///< Number of cores available\r
+  UINT16    CoresEnabled;  ///< Number of cores enabled\r
+  UINT16    ThreadCount;   ///< Number of threads per processor\r
 } OEM_MISC_PROCESSOR_DATA;\r
 \r
-typedef enum\r
-{\r
-    ProductNameType01,\r
-    SerialNumType01,\r
-    UuidType01,\r
-    SystemManufacturerType01,\r
-    SkuNumberType01,\r
-    FamilyType01,\r
-    AssertTagType02,\r
-    SerialNumberType02,\r
-    BoardManufacturerType02,\r
-    SkuNumberType02,\r
-    ChassisLocationType02,\r
-    AssetTagType03,\r
-    SerialNumberType03,\r
-    VersionType03,\r
-    ChassisTypeType03,\r
-    ManufacturerType03,\r
-    SkuNumberType03,\r
-    SmbiosHiiStringFieldMax\r
+typedef enum {\r
+  ProductNameType01,\r
+  SerialNumType01,\r
+  UuidType01,\r
+  SystemManufacturerType01,\r
+  SkuNumberType01,\r
+  FamilyType01,\r
+  AssertTagType02,\r
+  SerialNumberType02,\r
+  BoardManufacturerType02,\r
+  SkuNumberType02,\r
+  ChassisLocationType02,\r
+  AssetTagType03,\r
+  SerialNumberType03,\r
+  VersionType03,\r
+  ChassisTypeType03,\r
+  ManufacturerType03,\r
+  SkuNumberType03,\r
+  SmbiosHiiStringFieldMax\r
 } OEM_MISC_SMBIOS_HII_STRING_FIELD;\r
 \r
 /*\r
@@ -74,7 +70,7 @@ typedef enum
 UINTN\r
 EFIAPI\r
 OemGetCpuFreq (\r
-  IN UINT8 ProcessorIndex\r
+  IN UINT8  ProcessorIndex\r
   );\r
 \r
 /** Gets information about the specified processor and stores it in\r
@@ -90,10 +86,10 @@ OemGetCpuFreq (
 BOOLEAN\r
 EFIAPI\r
 OemGetProcessorInformation (\r
-  IN UINTN ProcessorIndex,\r
-  IN OUT PROCESSOR_STATUS_DATA *ProcessorStatus,\r
-  IN OUT PROCESSOR_CHARACTERISTIC_FLAGS *ProcessorCharacteristics,\r
-  IN OUT OEM_MISC_PROCESSOR_DATA *MiscProcessorData\r
+  IN UINTN                               ProcessorIndex,\r
+  IN OUT PROCESSOR_STATUS_DATA           *ProcessorStatus,\r
+  IN OUT PROCESSOR_CHARACTERISTIC_FLAGS  *ProcessorCharacteristics,\r
+  IN OUT OEM_MISC_PROCESSOR_DATA         *MiscProcessorData\r
   );\r
 \r
 /** Gets information about the cache at the specified cache level.\r
@@ -109,11 +105,11 @@ OemGetProcessorInformation (
 BOOLEAN\r
 EFIAPI\r
 OemGetCacheInformation (\r
-  IN UINT8   ProcessorIndex,\r
-  IN UINT8   CacheLevel,\r
-  IN BOOLEAN DataCache,\r
-  IN BOOLEAN UnifiedCache,\r
-  IN OUT SMBIOS_TABLE_TYPE7 *SmbiosCacheTable\r
+  IN UINT8                   ProcessorIndex,\r
+  IN UINT8                   CacheLevel,\r
+  IN BOOLEAN                 DataCache,\r
+  IN BOOLEAN                 UnifiedCache,\r
+  IN OUT SMBIOS_TABLE_TYPE7  *SmbiosCacheTable\r
   );\r
 \r
 /** Gets the maximum number of processors supported by the platform.\r
@@ -145,7 +141,7 @@ OemGetChassisType (
 BOOLEAN\r
 EFIAPI\r
 OemIsProcessorPresent (\r
-  IN UINTN ProcessorIndex\r
+  IN UINTN  ProcessorIndex\r
   );\r
 \r
 /** Updates the HII string for the specified field.\r
@@ -157,9 +153,9 @@ OemIsProcessorPresent (
 VOID\r
 EFIAPI\r
 OemUpdateSmbiosInfo (\r
-  IN EFI_HII_HANDLE    HiiHandle,\r
-  IN EFI_STRING_ID     TokenToUpdate,\r
-  IN OEM_MISC_SMBIOS_HII_STRING_FIELD Field\r
+  IN EFI_HII_HANDLE                    HiiHandle,\r
+  IN EFI_STRING_ID                     TokenToUpdate,\r
+  IN OEM_MISC_SMBIOS_HII_STRING_FIELD  Field\r
   );\r
 \r
 /** Fetches the Type 32 boot information status.\r