]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/CpuRuntimeDxe/Cpu.c
EmulatorPkg: Remove all trailing whitespace
[mirror_edk2.git] / EmulatorPkg / CpuRuntimeDxe / Cpu.c
index 5ec315bea23f3a6f3d2f3eb2d38fad0a4a193d72..2f7d5368e04accf5f47bcbf5b56e980813a2e9e0 100644 (file)
@@ -1,6 +1,6 @@
 /*++ @file\r
   Emu driver to produce CPU Architectural Protocol.\r
-  \r
+\r
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
 This program and the accompanying materials\r
@@ -172,12 +172,12 @@ EmuGetTimerValue (
   if (TimerIndex != 0) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   *TimerValue = gEmuThunk->QueryPerformanceCounter ();\r
-  \r
+\r
   if (TimerPeriod != NULL) {\r
     *TimerPeriod = mTimerPeriod;\r
-  } \r
+  }\r
 \r
   return EFI_SUCCESS;\r
 }\r
@@ -225,7 +225,7 @@ LogSmbiosData (
 {\r
   EFI_STATUS         Status;\r
   EFI_SMBIOS_HANDLE  SmbiosHandle;\r
-  \r
+\r
   SmbiosHandle = 0;\r
   Status = Smbios->Add (\r
                      Smbios,\r
@@ -255,7 +255,7 @@ CpuUpdateSmbios (
   // Locate Smbios protocol.\r
   //\r
   Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **)&Smbios);\r
-  \r
+\r
   if (EFI_ERROR (Status)) {\r
     return;\r
   }\r
@@ -285,7 +285,7 @@ CpuUpdateSmbios (
   //\r
   // Make handle chosen by smbios protocol.add automatically.\r
   //\r
-  SmbiosRecord->Hdr.Handle = 0;  \r
+  SmbiosRecord->Hdr.Handle = 0;\r
   //\r
   // Processor version is the 1st string.\r
   //\r
@@ -309,7 +309,7 @@ CpuUpdateSmbios (
 \r
 /**\r
   Callback function for idle events.\r
\r
+\r
   @param  Event                 Event whose notification function is being invoked.\r
   @param  Context               The pointer to the notification function's context,\r
                                 which is implementation-dependent.\r
@@ -339,18 +339,18 @@ InitializeCpu (
 \r
   //\r
   // Retrieve the frequency of the performance counter in Hz.\r
-  //  \r
+  //\r
   Frequency = gEmuThunk->QueryPerformanceFrequency ();\r
-  \r
+\r
   //\r
   // Convert frequency in Hz to a clock period in femtoseconds.\r
   //\r
   mTimerPeriod = DivU64x64Remainder (1000000000000000ULL, Frequency, NULL);\r
 \r
   CpuUpdateSmbios ();\r
-  \r
+\r
   CpuMpServicesInit ();\r
-  \r
+\r
   Status = gBS->CreateEventEx (\r
                   EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r