efi: Add missing __grub_efi_api attributes
commit6d8853e215716bb389f61a6941d2d893468470f4
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 15 Jun 2023 14:45:00 +0000 (15 16:45 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 22 Jun 2023 22:50:38 +0000 (23 00:50 +0200)
treea28d0bcc1bef217fbc8d690750472bca6c854ec7
parentb2c72f4641b1992759f630abf8c22e480933b6c5
efi: Add missing __grub_efi_api attributes

The commit bb4aa6e06 (efi: Drop all uses of efi_call_XX() wrappers) did
not add some __grub_efi_api attributes to the EFI calls. Lack of them
led to hangs on x86_64-efi target. So, let's add missing __grub_efi_api
attributes.

Fixes: bb4aa6e06 (efi: Drop all uses of efi_call_XX() wrappers)

Reported-by: Christian Hesse <list@eworm.de>
Reported-by: Robin Candau <antiz@archlinux.org>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Robin Candau <antiz@archlinux.org>
Tested-by: Christian Hesse <list@eworm.de>
Reviewed-by: Peter Jones <pjones@redhat.com>
include/grub/efi/cc.h
include/grub/efi/console_control.h
include/grub/efi/graphics_output.h
include/grub/efi/uga_draw.h