diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-11 05:50:37 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-11 05:50:37 +0000 |
commit | 4798ea5b2a8239d64e2143e8cc0494b4473a03b0 (patch) | |
tree | fc8d772a994fb13b5e70b40f8367a6ed7e240f9c /EdkCompatibilityPkg/Foundation/Cpu | |
parent | 98b15cf156f575ed59afe187dfa6f0bbf67c22b8 (diff) | |
download | edk2-platforms-4798ea5b2a8239d64e2143e8cc0494b4473a03b0.tar.xz |
1) Replace IA32API with EFIAPI to standardise the calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7499 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Cpu')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h index 2b7d0a6999..b3745ddf55 100644 --- a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h +++ b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h @@ -22,8 +22,6 @@ Abstract: #include "Tiano.h"
-#define IA32API __cdecl
-
typedef struct {
UINT32 RegEax;
UINT32 RegEbx;
@@ -139,7 +137,7 @@ typedef struct { (((UINT32) (f) << 16) | ((UINT32) (m) << 8) | ((UINT32) (s)))
VOID
-IA32API
+EFIAPI
EfiHalt (
VOID
);
@@ -153,7 +151,7 @@ Returns: None
--*/
VOID
-IA32API
+EFIAPI
EfiWbinvd (
VOID
);
@@ -167,7 +165,7 @@ Returns: None
--*/
VOID
-IA32API
+EFIAPI
EfiInvd (
VOID
);
@@ -181,7 +179,7 @@ Returns: None
--*/
VOID
-IA32API
+EFIAPI
EfiCpuid (
IN UINT32 RegisterInEax,
OUT EFI_CPUID_REGISTER *Regs
@@ -198,7 +196,7 @@ Returns: --*/
VOID
-IA32API
+EFIAPI
EfiCpuidExt (
IN UINT32 RegisterInEax,
IN UINT32 CacheLevel,
@@ -219,7 +217,7 @@ Returns: ;
UINT64
-IA32API
+EFIAPI
EfiReadMsr (
IN UINT32 Index
);
@@ -234,7 +232,7 @@ Returns: Return the read data
--*/
VOID
-IA32API
+EFIAPI
EfiWriteMsr (
IN UINT32 Index,
IN UINT64 Value
@@ -250,7 +248,7 @@ Returns: None
--*/
UINT64
-IA32API
+EFIAPI
EfiReadTsc (
VOID
);
@@ -264,7 +262,7 @@ Returns: Return the read data
--*/
VOID
-IA32API
+EFIAPI
EfiDisableCache (
VOID
);
@@ -278,7 +276,7 @@ Returns: None
--*/
VOID
-IA32API
+EFIAPI
EfiEnableCache (
VOID
);
@@ -292,7 +290,7 @@ Returns: None
--*/
UINT32
-IA32API
+EFIAPI
EfiGetEflags (
VOID
);
@@ -306,7 +304,7 @@ Returns: Return the Eflags value
--*/
VOID
-IA32API
+EFIAPI
EfiDisableInterrupts (
VOID
);
@@ -320,7 +318,7 @@ Returns: None
--*/
VOID
-IA32API
+EFIAPI
EfiEnableInterrupts (
VOID
);
@@ -336,7 +334,7 @@ Returns: VOID
-IA32API
+EFIAPI
EfiCpuVersion (
IN UINT16 *FamilyId, OPTIONAL
IN UINT8 *Model, OPTIONAL
|