diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:36:53 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:36:53 +0000 |
commit | ed8dfd7bfeec6fe5333d6a90706d72af5ddee03d (patch) | |
tree | f56a611cc9f91fbec0a50b024c0fe8a48cca9152 /UefiCpuPkg | |
parent | e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a (diff) | |
download | edk2-platforms-ed8dfd7bfeec6fe5333d6a90706d72af5ddee03d.tar.xz |
Fixed GCC 4.4 build issues due to EFIAPI not being used when required.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10380 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/Include/Library/MtrrLib.h | 4 | ||||
-rw-r--r-- | UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h index 66e131d4fd..b34384b14c 100644 --- a/UefiCpuPkg/Include/Library/MtrrLib.h +++ b/UefiCpuPkg/Include/Library/MtrrLib.h @@ -135,6 +135,7 @@ typedef enum { **/
UINT32
+EFIAPI
GetVariableMtrrCount (
VOID
);
@@ -146,6 +147,7 @@ GetVariableMtrrCount ( **/
UINT32
+EFIAPI
GetFirmwareVariableMtrrCount (
VOID
);
@@ -311,6 +313,7 @@ MtrrGetMemoryAttributeInVariableMtrr ( This function prints all MTRRs for debugging.
**/
VOID
+EFIAPI
MtrrDebugPrintAllMtrrs (
);
@@ -322,6 +325,7 @@ MtrrDebugPrintAllMtrrs ( **/
BOOLEAN
+EFIAPI
IsMtrrSupported (
VOID
);
diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c index dab0535fe9..d48b6a4db3 100644 --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c @@ -89,6 +89,7 @@ FIXED_MTRR MtrrLibFixedMtrrTable[] = { **/
UINT32
+EFIAPI
GetVariableMtrrCount (
VOID
)
@@ -107,6 +108,7 @@ GetVariableMtrrCount ( **/
UINT32
+EFIAPI
GetFirmwareVariableMtrrCount (
VOID
)
|