diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-10 03:25:49 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-10 03:25:49 +0000 |
commit | 3b6ffb6a13d1e559d836a04b9b45e92d255ebf02 (patch) | |
tree | 4be48263af2cdd9560f084a657be481f3a56705e /MdeModulePkg | |
parent | c57da111f78780fdf6c489dbbc27fe6168a570d0 (diff) | |
download | edk2-platforms-3b6ffb6a13d1e559d836a04b9b45e92d255ebf02.tar.xz |
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')
-rw-r--r-- | MdeModulePkg/Core/Dxe/DxeMain.h | 14 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 1 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 13 |
3 files changed, 28 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h index 3d999f906f..2ffe9a2efd 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.h +++ b/MdeModulePkg/Core/Dxe/DxeMain.h @@ -1562,6 +1562,7 @@ CoreCheckEvent ( **/
EFI_STATUS
+EFIAPI
CoreAddMemorySpace (
IN EFI_GCD_MEMORY_TYPE GcdMemoryType,
IN EFI_PHYSICAL_ADDRESS BaseAddress,
@@ -1588,6 +1589,7 @@ CoreAddMemorySpace ( **/
EFI_STATUS
+EFIAPI
CoreAllocateMemorySpace (
IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType,
IN EFI_GCD_MEMORY_TYPE GcdMemoryType,
@@ -1610,6 +1612,7 @@ CoreAllocateMemorySpace ( **/
EFI_STATUS
+EFIAPI
CoreFreeMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1627,6 +1630,7 @@ CoreFreeMemorySpace ( **/
EFI_STATUS
+EFIAPI
CoreRemoveMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1644,6 +1648,7 @@ CoreRemoveMemorySpace ( **/
EFI_STATUS
+EFIAPI
CoreGetMemorySpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor
@@ -1663,6 +1668,7 @@ CoreGetMemorySpaceDescriptor ( **/
EFI_STATUS
+EFIAPI
CoreSetMemorySpaceAttributes (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length,
@@ -1683,6 +1689,7 @@ CoreSetMemorySpaceAttributes ( **/
EFI_STATUS
+EFIAPI
CoreGetMemorySpaceMap (
OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap
@@ -1701,6 +1708,7 @@ CoreGetMemorySpaceMap ( **/
EFI_STATUS
+EFIAPI
CoreAddIoSpace (
IN EFI_GCD_IO_TYPE GcdIoType,
IN EFI_PHYSICAL_ADDRESS BaseAddress,
@@ -1726,6 +1734,7 @@ CoreAddIoSpace ( **/
EFI_STATUS
+EFIAPI
CoreAllocateIoSpace (
IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType,
IN EFI_GCD_IO_TYPE GcdIoType,
@@ -1748,6 +1757,7 @@ CoreAllocateIoSpace ( **/
EFI_STATUS
+EFIAPI
CoreFreeIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1765,6 +1775,7 @@ CoreFreeIoSpace ( **/
EFI_STATUS
+EFIAPI
CoreRemoveIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
@@ -1782,6 +1793,7 @@ CoreRemoveIoSpace ( **/
EFI_STATUS
+EFIAPI
CoreGetIoSpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor
@@ -1800,6 +1812,7 @@ CoreGetIoSpaceDescriptor ( **/
EFI_STATUS
+EFIAPI
CoreGetIoSpaceMap (
OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap
@@ -1947,6 +1960,7 @@ InitializeSectionExtraction ( **/
EFI_STATUS
+EFIAPI
CoreProcessFirmwareVolume (
IN VOID *FvHeader,
IN UINTN Size,
diff --git a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c index 2819a4402b..26e3dde57d 100644 --- a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c +++ b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c @@ -566,6 +566,7 @@ FwVolBlockDriverInit ( **/
EFI_STATUS
+EFIAPI
CoreProcessFirmwareVolume (
IN VOID *FvHeader,
IN UINTN Size,
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
|