summaryrefslogtreecommitdiff
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 23:36:53 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 23:36:53 +0000
commited8dfd7bfeec6fe5333d6a90706d72af5ddee03d (patch)
treef56a611cc9f91fbec0a50b024c0fe8a48cca9152 /UefiCpuPkg
parente798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a (diff)
downloadedk2-ed8dfd7bfeec6fe5333d6a90706d72af5ddee03d.zip
edk2-ed8dfd7bfeec6fe5333d6a90706d72af5ddee03d.tar.gz
edk2-ed8dfd7bfeec6fe5333d6a90706d72af5ddee03d.tar.bz2
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.h4
-rw-r--r--UefiCpuPkg/Library/MtrrLib/MtrrLib.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h
index 66e131d..b34384b 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 dab0535..d48b6a4 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
)