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
This commit is contained in:
qhuang8 2008-09-10 03:25:49 +00:00
parent c57da111f7
commit 3b6ffb6a13
3 changed files with 28 additions and 0 deletions

View File

@ -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,

View File

@ -566,6 +566,7 @@ FwVolBlockDriverInit (
**/
EFI_STATUS
EFIAPI
CoreProcessFirmwareVolume (
IN VOID *FvHeader,
IN UINTN Size,

View File

@ -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