summaryrefslogtreecommitdiff
path: root/src/include/efi
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2024-02-16 13:29:26 -0800
committerFelix Held <felix-coreboot@felixheld.de>2024-04-23 21:16:13 +0000
commit3f431844c6cecffa658ec7e2f97aaa903e898b12 (patch)
tree40ed9522fc5bc53895efc4ec1e27b5e1e3716087 /src/include/efi
parent859df7160a5982eeaff1aa18ce40fbd2ae6ee107 (diff)
drivers/intel/fsp2_0: Support FSP 2.4 64-bits
FSP 2.4 brings FSP 64-bits support which requires some adjustments in coreboot: FSP/UEFI uses the Microsoft x64 calling convention. Appropriate attribute has to be set to all functions calling or called by the FSP. BUG=b:329034258 TEST=verified on Lunar Lake RVP board (lnlrvp) Change-Id: If0397f5cc8d0f4f1872bd37a001fe42e0c37ec99 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80277 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Krishna P Bhat D <krishna.p.bhat.d@intel.com>
Diffstat (limited to 'src/include/efi')
-rw-r--r--src/include/efi/efi_datatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/efi/efi_datatype.h b/src/include/efi/efi_datatype.h
index 8a1a124d5a..0333a84a4e 100644
--- a/src/include/efi/efi_datatype.h
+++ b/src/include/efi/efi_datatype.h
@@ -81,6 +81,6 @@ typedef EFI_GUID efi_guid_t;
*/
typedef
void
-(EFIAPI *efi_ap_procedure)(void *buffer);
+(__efiapi *efi_ap_procedure)(void *buffer);
#endif