]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
EdkCompatibilityPkg: Fix typos in comments
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Cpu / Pentium / Include / CpuIA32.h
index 2b7d0a6999993b0c0fedb9c000d1bc8c8422ed0d..b0ec374e2614968866e87c53e46ef3e1a71568d6 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r
+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
@@ -22,8 +22,6 @@ Abstract:
 \r
 #include "Tiano.h"\r
 \r
-#define IA32API __cdecl\r
-\r
 typedef struct {\r
   UINT32  RegEax;\r
   UINT32  RegEbx;\r
@@ -139,7 +137,7 @@ typedef struct {
   (((UINT32) (f) << 16) | ((UINT32) (m) << 8) | ((UINT32) (s)))\r
 \r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiHalt (\r
   VOID\r
   );\r
@@ -153,7 +151,7 @@ Returns:
    None                                                \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiWbinvd (\r
   VOID\r
   );\r
@@ -167,7 +165,7 @@ Returns:
    None                                                \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiInvd (\r
   VOID\r
   );\r
@@ -181,7 +179,7 @@ Returns:
    None                                                \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiCpuid (\r
   IN  UINT32                 RegisterInEax,\r
   OUT EFI_CPUID_REGISTER     *Regs\r
@@ -189,7 +187,7 @@ EfiCpuid (
 \r
 /*++                                                                                                                          \r
 Routine Description:                                                \r
-  Get the Cpu info by excute the CPUID instruction\r
+  Get the Cpu info by execute the CPUID instruction\r
 Arguments:                \r
    RegisterInEax: -The input value to put into register EAX\r
    Regs:          -The Output value                      \r
@@ -198,7 +196,7 @@ Returns:
 --*/\r
 \r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiCpuidExt (\r
   IN  UINT32                 RegisterInEax,\r
   IN  UINT32                 CacheLevel,\r
@@ -219,7 +217,7 @@ Returns:
 ;\r
 \r
 UINT64\r
-IA32API\r
+EFIAPI\r
 EfiReadMsr (\r
   IN UINT32     Index\r
   );\r
@@ -234,7 +232,7 @@ Returns:
    Return the read data                                                \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiWriteMsr (\r
   IN UINT32     Index,\r
   IN UINT64     Value\r
@@ -250,7 +248,7 @@ Returns:
    None                                                \r
 --*/\r
 UINT64\r
-IA32API\r
+EFIAPI\r
 EfiReadTsc (\r
   VOID\r
   );\r
@@ -264,7 +262,7 @@ Returns:
    Return the read data                                                \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiDisableCache (\r
   VOID\r
   );\r
@@ -278,7 +276,7 @@ Returns:
   None                                               \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiEnableCache (\r
   VOID\r
   );\r
@@ -292,7 +290,7 @@ Returns:
   None                                               \r
 --*/\r
 UINT32\r
-IA32API\r
+EFIAPI\r
 EfiGetEflags (\r
   VOID\r
   );\r
@@ -306,7 +304,7 @@ Returns:
   Return the Eflags value                                               \r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiDisableInterrupts (\r
   VOID\r
   );\r
@@ -320,7 +318,7 @@ Returns:
   None\r
 --*/\r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiEnableInterrupts (\r
   VOID\r
   );\r
@@ -336,7 +334,7 @@ Returns:
 \r
 \r
 VOID\r
-IA32API\r
+EFIAPI\r
 EfiCpuVersion (\r
   IN   UINT16  *FamilyId,    OPTIONAL\r
   IN   UINT8   *Model,       OPTIONAL\r