]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/CpuId.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuId.c
index 9745ae21d4846519d0da577dc8826f3dac78d629..e1a7e8effb2598d5dbba6bfcd75c32d736d83dad 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   AsmCpuid function.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
   If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.\r
   If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.\r
   If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.\r
-  This function is only available on IA-32 and X64.\r
+  This function is only available on IA-32 and x64.\r
 \r
   @param  Index         The 32-bit value to load into EAX prior to invoking the CPUID\r
                         instruction.\r
-  @param  RegisterEax   Pointer to the 32-bit EAX value returned by the CPUID\r
+  @param  RegisterEax   A pointer to the 32-bit EAX value returned by the CPUID\r
                         instruction. This is an optional parameter that may be NULL.\r
-  @param  RegisterEbx   Pointer to the 32-bit EBX value returned by the CPUID\r
+  @param  RegisterEbx   A pointer to the 32-bit EBX value returned by the CPUID\r
                         instruction. This is an optional parameter that may be NULL.\r
-  @param  RegisterEcx   Pointer to the 32-bit ECX value returned by the CPUID\r
+  @param  RegisterEcx   A pointer to the 32-bit ECX value returned by the CPUID\r
                         instruction. This is an optional parameter that may be NULL.\r
-  @param  RegisterEdx   Pointer to the 32-bit EDX value returned by the CPUID\r
+  @param  RegisterEdx   A pointer to the 32-bit EDX value returned by the CPUID\r
                         instruction. This is an optional parameter that may be NULL.\r
 \r
-  @return Index\r
+  @return Index.\r
 \r
 **/\r
 UINT32\r
 EFIAPI\r
 AsmCpuid (\r
-  IN      UINT32                    Index,\r
-  OUT     UINT32                    *RegisterEax,  OPTIONAL\r
-  OUT     UINT32                    *RegisterEbx,  OPTIONAL\r
-  OUT     UINT32                    *RegisterEcx,  OPTIONAL\r
-  OUT     UINT32                    *RegisterEdx   OPTIONAL\r
+  IN      UINT32  Index,\r
+  OUT     UINT32  *RegisterEax   OPTIONAL,\r
+  OUT     UINT32  *RegisterEbx   OPTIONAL,\r
+  OUT     UINT32  *RegisterEcx   OPTIONAL,\r
+  OUT     UINT32  *RegisterEdx   OPTIONAL\r
   )\r
 {\r
   _asm {\r
@@ -71,4 +65,3 @@ SkipEdx:
     mov     eax, Index\r
   }\r
 }\r
-\r