Subrata Banik has uploaded this change for review. ( 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 --- M src/include/efi/efi_datatype.h 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/81620/1
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;