summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp2_0/fsp_debug_event.c2
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/fsp_debug_event.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/fsp_debug_event.c b/src/drivers/intel/fsp2_0/fsp_debug_event.c
index 2ebecc0e51..4b3e151ad8 100644
--- a/src/drivers/intel/fsp2_0/fsp_debug_event.c
+++ b/src/drivers/intel/fsp2_0/fsp_debug_event.c
@@ -17,7 +17,7 @@ static efi_return_status_t print_fsp_string_data(const efi_status_code_data_t *d
return FSP_SUCCESS;
}
-efi_return_status_t fsp_debug_event_handler(efi_status_code_type_t ignored1,
+__efiapi efi_return_status_t fsp_debug_event_handler(efi_status_code_type_t ignored1,
efi_status_code_value_t ignored2, efi_uint32_t ignored3, efi_guid_t *ignored4,
efi_status_code_data_t *data)
{
diff --git a/src/drivers/intel/fsp2_0/include/fsp/fsp_debug_event.h b/src/drivers/intel/fsp2_0/include/fsp/fsp_debug_event.h
index 7d50c1e68f..149629a121 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/fsp_debug_event.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/fsp_debug_event.h
@@ -12,7 +12,7 @@
#include <fsp/soc_binding.h>
/* fsp debug event handler */
-efi_return_status_t fsp_debug_event_handler(efi_status_code_type_t ignored1,
+__efiapi efi_return_status_t fsp_debug_event_handler(efi_status_code_type_t ignored1,
efi_status_code_value_t ignored2, efi_uint32_t ignored3, efi_guid_t *ignored4,
efi_status_code_data_t *data);