summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Gcd
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-10 03:25:49 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-10 03:25:49 +0000
commit3b6ffb6a13d1e559d836a04b9b45e92d255ebf02 (patch)
tree4be48263af2cdd9560f084a657be481f3a56705e /MdeModulePkg/Core/Dxe/Gcd
parentc57da111f78780fdf6c489dbbc27fe6168a570d0 (diff)
downloadedk2-3b6ffb6a13d1e559d836a04b9b45e92d255ebf02.tar.gz
edk2-3b6ffb6a13d1e559d836a04b9b45e92d255ebf02.tar.bz2
edk2-3b6ffb6a13d1e559d836a04b9b45e92d255ebf02.zip
Add EFIAPI modifier for all GCD services APIs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5865 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Gcd')
-rw-r--r--MdeModulePkg/Core/Dxe/Gcd/Gcd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
index 4927c67c18..f96cae8684 100644
--- a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
+++ b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
@@ -1123,6 +1123,7 @@ CoreInternalAddMemorySpace (
**/
EFI_STATUS
+EFIAPI
CoreAllocateMemorySpace (
IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType,
IN EFI_GCD_MEMORY_TYPE GcdMemoryType,
@@ -1160,6 +1161,7 @@ CoreAllocateMemorySpace (
**/
EFI_STATUS
+EFIAPI
CoreAddMemorySpace (
IN EFI_GCD_MEMORY_TYPE GcdMemoryType,
IN EFI_PHYSICAL_ADDRESS BaseAddress,
@@ -1233,6 +1235,7 @@ CoreAddMemorySpace (
**/
EFI_STATUS
+EFIAPI
CoreFreeMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1253,6 +1256,7 @@ CoreFreeMemorySpace (
**/
EFI_STATUS
+EFIAPI
CoreRemoveMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1296,6 +1300,7 @@ BuildMemoryDescriptor (
**/
EFI_STATUS
+EFIAPI
CoreGetMemorySpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor
@@ -1348,6 +1353,7 @@ CoreGetMemorySpaceDescriptor (
**/
EFI_STATUS
+EFIAPI
CoreSetMemorySpaceAttributes (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length,
@@ -1371,6 +1377,7 @@ CoreSetMemorySpaceAttributes (
**/
EFI_STATUS
+EFIAPI
CoreGetMemorySpaceMap (
OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap
@@ -1438,6 +1445,7 @@ Done:
**/
EFI_STATUS
+EFIAPI
CoreAddIoSpace (
IN EFI_GCD_IO_TYPE GcdIoType,
IN EFI_PHYSICAL_ADDRESS BaseAddress,
@@ -1472,6 +1480,7 @@ CoreAddIoSpace (
**/
EFI_STATUS
+EFIAPI
CoreAllocateIoSpace (
IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType,
IN EFI_GCD_IO_TYPE GcdIoType,
@@ -1507,6 +1516,7 @@ CoreAllocateIoSpace (
**/
EFI_STATUS
+EFIAPI
CoreFreeIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1527,6 +1537,7 @@ CoreFreeIoSpace (
**/
EFI_STATUS
+EFIAPI
CoreRemoveIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1568,6 +1579,7 @@ BuildIoDescriptor (
**/
EFI_STATUS
+EFIAPI
CoreGetIoSpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor
@@ -1619,6 +1631,7 @@ CoreGetIoSpaceDescriptor (
**/
EFI_STATUS
+EFIAPI
CoreGetIoSpaceMap (
OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap