Skip to content

Commit

Permalink
StandaloneMmPkg: Fix building on GCC
Browse files Browse the repository at this point in the history
Add missing EFIAPI qualifier.

Cc: Ard Biesheuvel <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Sami Mujawar <[email protected]>

Signed-off-by: Patrick Rudolph <[email protected]>
  • Loading branch information
PatrickRudolph committed Jun 24, 2024
1 parent 900b69e commit 2e35918
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions StandaloneMmPkg/Drivers/StandaloneMmCpu/EventHandle.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ CheckBufferAddr (
@retval EFI_UNSUPPORTED Operation not supported.
**/
EFI_STATUS
EFIAPI
PiMmStandaloneMmCpuDriverEntry (
IN UINTN EventId,
IN UINTN CpuNumber,
Expand Down
1 change: 1 addition & 0 deletions StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ GetGuidedHobData (
driver endpoint descriptor.
**/
EFI_STATUS
EFIAPI
StandaloneMmCpuInitialize (
IN EFI_HANDLE ImageHandle, // not actual imagehandle
IN EFI_MM_SYSTEM_TABLE *SystemTable // not actual systemtable
Expand Down
2 changes: 2 additions & 0 deletions StandaloneMmPkg/Include/StandaloneMmCpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

typedef
EFI_STATUS
EFIAPI
(*PI_MM_CPU_DRIVER_ENTRYPOINT) (
IN UINTN EventId,
IN UINTN CpuNumber,
Expand Down Expand Up @@ -59,6 +60,7 @@ extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig;
@retval EFI_OUT_OF_RESOURCES Out of resources.
@retval EFI_UNSUPPORTED Operation not supported.
**/
EFIAPI
EFI_STATUS
PiMmStandaloneMmCpuDriverEntry (
IN UINTN EventId,
Expand Down

0 comments on commit 2e35918

Please sign in to comment.