]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/CpuRuntimeDxe/Cpu.c
EmulatorPkg: formalize line endings
[mirror_edk2.git] / EmulatorPkg / CpuRuntimeDxe / Cpu.c
index 47fb7f07e891a74554b30411f646d615909a6e21..83e876509ac19fc9806ac5867da69d018d7be31c 100644 (file)
@@ -63,7 +63,7 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = {
       0, //  ProcessorXModel:    4;\r
       0, //  ProcessorXFamily:   8;\r
       0, //  ProcessorReserved2: 4;\r
-    }, \r
+    },\r
     {  // PROCESSOR_FEATURE_FLAGS\r
       0, //  ProcessorFpu       :1;\r
       0, //  ProcessorVme       :1;\r
@@ -100,13 +100,13 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = {
   },\r
   3,                    // ProcessorVersion String;\r
   {                     // Voltage;\r
-    1,  // ProcessorVoltageCapability5V        :1; \r
-    1,  // ProcessorVoltageCapability3_3V      :1;  \r
-    1,  // ProcessorVoltageCapability2_9V      :1;  \r
+    1,  // ProcessorVoltageCapability5V        :1;\r
+    1,  // ProcessorVoltageCapability3_3V      :1;\r
+    1,  // ProcessorVoltageCapability2_9V      :1;\r
     0,  // ProcessorVoltageCapabilityReserved  :1; ///< Bit 3, must be zero.\r
     0,  // ProcessorVoltageReserved            :3; ///< Bits 4-6, must be zero.\r
     0   // ProcessorVoltageIndicateLegacy      :1;\r
-  },              \r
+  },\r
   0,                      // ExternalClock;\r
   0,                      // MaxSpeed;\r
   0,                      // CurrentSpeed;\r
@@ -151,26 +151,26 @@ CHAR8 *mCpuSmbiosType4Strings[] = {
     "Not Found",\r
     NULL\r
   };\r
-  \r
+\r
   ...\r
   LogSmbiosData (\r
-    (EFI_SMBIOS_TABLE_HEADER*)&gSmbiosType12, \r
+    (EFI_SMBIOS_TABLE_HEADER*)&gSmbiosType12,\r
     gSmbiosType12Strings\r
     );\r
 \r
   @param  Template    Fixed SMBIOS structure, required.\r
-  @param  StringArray Array of strings to convert to an SMBIOS string pack. \r
+  @param  StringArray Array of strings to convert to an SMBIOS string pack.\r
                       NULL is OK.\r
 \r
 **/\r
 EFI_STATUS\r
 LogSmbiosData (\r
   IN  EFI_SMBIOS_TABLE_HEADER *Template,\r
-  IN  CHAR8                   **StringPack \r
+  IN  CHAR8                   **StringPack\r
   )\r
 {\r
   EFI_STATUS                Status;\r
-  EFI_SMBIOS_PROTOCOL       *Smbios;  \r
+  EFI_SMBIOS_PROTOCOL       *Smbios;\r
   EFI_SMBIOS_HANDLE         SmbiosHandle;\r
   EFI_SMBIOS_TABLE_HEADER   *Record;\r
   UINTN                     Index;\r
@@ -219,7 +219,7 @@ LogSmbiosData (
     Str += StringSize;\r
   }\r
   *Str = 0;\r
-  \r
+\r
   SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;\r
   Status = Smbios->Add (\r
                      Smbios,\r
@@ -228,7 +228,7 @@ LogSmbiosData (
                      Record\r
                      );\r
   ASSERT_EFI_ERROR (Status);\r
-  \r
+\r
   FreePool (Record);\r
   return Status;\r
 }\r