Files
xen/xen/common/efi/common-stub.c
T
Jan Beulich 5df9425a73 EFI: don't use alias attribute for compat hypercall stubs
Recent Clang objects to types differing between alias and aliasee. Accept
the unnecessary overhead and make the two compat stubs real functions.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2026-09-09 14:15:15 +02:00

41 lines
610 B
C

#include <xen/bug.h>
#include <xen/efi.h>
#include <xen/errno.h>
bool efi_enabled(unsigned int feature)
{
return false;
}
unsigned long efi_get_time(void)
{
BUG();
return 0;
}
void efi_reset_system(bool warm) { }
int efi_get_info(uint32_t idx, union xenpf_efi_info *info)
{
return -ENOSYS;
}
int efi_runtime_call(struct xenpf_efi_runtime_call *op)
{
return -ENOSYS;
}
#ifdef CONFIG_COMPAT
int efi_compat_get_info(uint32_t idx, union compat_pf_efi_info *info)
{
return -ENOSYS;
}
int efi_compat_runtime_call(struct compat_pf_efi_runtime_call *op)
{
return -ENOSYS;
}
#endif