diff options
author | Subrata Banik <subratabanik@google.com> | 2024-04-01 21:37:11 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-04-04 06:22:26 +0000 |
commit | 6daf0b3fdaf4f09bc1701b610a556cb665a1eb4b (patch) | |
tree | 557facd027bf1b5333f1bb275f002f7e8142f11f /src/include/efi | |
parent | 5462e8e943fde0c8d934a618eb2423f6bb6b6e84 (diff) |
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>
Diffstat (limited to 'src/include/efi')
-rw-r--r-- | src/include/efi/efi_datatype.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/efi/efi_datatype.h b/src/include/efi/efi_datatype.h index 917d0c8f22..31612b84c9 100644 --- a/src/include/efi/efi_datatype.h +++ b/src/include/efi/efi_datatype.h @@ -34,6 +34,9 @@ typedef BMP_IMAGE_HEADER efi_bmp_image_header; 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; |