diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2024-07-03 11:53:40 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-29 13:44:55 +0000 |
commit | be1d408773504df8b95a2a81be7b558276ba5356 (patch) | |
tree | b43137f8a256060fdbd9bba179135b042a2fe057 /DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c | |
parent | 7537028fa5ab071d9ae686212437b92f1a0ce490 (diff) | |
download | edk2-be1d408773504df8b95a2a81be7b558276ba5356.tar.gz |
DynamicTablesPkg: Add EFIAPI to generators hooks
For X64 builds, the EFIAPI is replaced by '(__attribute__((ms_abi))'.
This might lead to build error for some ACPI tablte generators
due to function prototype mismatch.
Add the EFIAPI to ACPI table generator hooks:
- ACPI_TABLE_GENERATOR_BUILD_TABLEEX
- ACPI_TABLE_GENERATOR_FREE_TABLEEX
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c')
-rw-r--r-- | DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c b/DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c index dcdacc4e96..1a9434e6bd 100644 --- a/DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Common/AcpiSratLib/SratGenerator.c @@ -552,6 +552,7 @@ error_handler: **/
STATIC
EFI_STATUS
+EFIAPI
FreeSratTableResources (
IN CONST ACPI_TABLE_GENERATOR *CONST This,
IN CONST CM_STD_OBJ_ACPI_TABLE_INFO *CONST AcpiTableInfo,
|