summaryrefslogtreecommitdiffstats
path: root/src/cgls
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2021-09-30 12:11:56 +0200
committerJan Janssen <medhefgo@web.de>2021-10-17 11:55:57 +0200
commit12f32748aa291db1e8c1305e7fb4310e9728aad4 (patch)
treec19933452b62ff7de743eaea6765d75a34d6371e /src/cgls
parentsd-boot: Convert VOID -> void (diff)
downloadsystemd-12f32748aa291db1e8c1305e7fb4310e9728aad4.tar.xz
systemd-12f32748aa291db1e8c1305e7fb4310e9728aad4.zip
sd-boot: Get rid of uefi_call_wrapper
The uefi_call_wrapper exists to convert to the right calling convention and presumably predates compilers that can do so natively. The only architecture where this is even needed is x86_64. But because we are building with GNU_EFI_USE_MS_ABI defined, the EFIAPI macro tells the compiler to use the right calling convention for EFI functions. Our shim callback (which is called by EFI itself) already relies on this. This also adds a safety check to make se we are compiling with GNU_EFI_USE_MS_ABI defined and also adds it to the compiler args unconditionally. It is only used with x86_64 anyways, so it should be fine to do so. EFI_FUNCTION_WRAPPER is unused in gnu-efi, so it is dropped.
Diffstat (limited to 'src/cgls')
0 files changed, 0 insertions, 0 deletions