Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81620?usp=email )
Change subject: include/efi: Introduce __efiapi for EFI calling convention flexibility ......................................................................
include/efi: Introduce __efiapi for EFI calling convention flexibility
This patch defines __efiapi (based on EFIAPI) for coreboot-compliant EFI calls. This lays the groundwork for future 64-bit EFI calling convention support within coreboot/FSP.
BUG=b:242829490 TEST=FSP debug log accessible via coreboot event handler.
Change-Id: I21660f8ebeed3b9ef060118928a940a470492bb8 Signed-off-by: Subrata Banik subratabanik@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/81620 Reviewed-by: Arthur Heymans arthur@aheymans.xyz Reviewed-by: Dinesh Gehlot digehlot@google.com Reviewed-by: Varshit Pandya pandyavarshit@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/include/efi/efi_datatype.h 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Varshit Pandya: Looks good to me, approved Dinesh Gehlot: Looks good to me, approved Arthur Heymans: Looks good to me, approved
diff --git a/src/include/efi/efi_datatype.h b/src/include/efi/efi_datatype.h index 917d0c8..31612b8 100644 --- a/src/include/efi/efi_datatype.h +++ b/src/include/efi/efi_datatype.h @@ -34,6 +34,9 @@ typedef BMP_COLOR_MAP efi_bmp_color_map; #endif
+/* EFIAPI calling convention */ +#define __efiapi EFIAPI + /* Basic Data types */ /* 8-byte unsigned value. */ typedef UINT64 efi_uint64_t;