From 5080a60a719da213fa90964b76cc90bd0d1cb8de Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 6 Jan 2023 18:07:18 +0100 Subject: boot: Provide our own EFI API headers We want to get away from gnu-efi and the only really usable source of EFI headers would be EDK2, which is somewhat impractical to use and quite large to require to be around just for some headers. As a bonus point, the new headers are safe to be included in userspace code. This should not have any behavior changes as it is mostly changing header includes. There are some renames to conform to standard names and a few minor device path fixups as the struct is defined slightly different. Of note is that this removes usage of uchar.h and wchar.h as they are not guaranteed to be available in a freestanding environment. Instead efi.h will provide the needed types. --- src/fundamental/string-util-fundamental.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fundamental') diff --git a/src/fundamental/string-util-fundamental.h b/src/fundamental/string-util-fundamental.h index c35ce5b88f..f55dcbf56a 100644 --- a/src/fundamental/string-util-fundamental.h +++ b/src/fundamental/string-util-fundamental.h @@ -2,8 +2,7 @@ #pragma once #if SD_BOOT -# include -# include +# include "efi.h" # include "efi-string.h" #else # include -- cgit v1.2.1