efi: Move loaded-image, fs and device-path GUIDs to common

Allow these to be used from the app, when EFI_LOADER is disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-02 06:26:00 -06:00
parent 5d8c07b404
commit 2b8858b779
2 changed files with 6 additions and 4 deletions

View File

@@ -171,6 +171,12 @@ extern const efi_guid_t efi_guid_image_security_database;
/* Access to Shim variables */ /* Access to Shim variables */
extern const efi_guid_t efi_shim_lock; extern const efi_guid_t efi_shim_lock;
extern const efi_guid_t efi_guid_loaded_image;
extern const efi_guid_t efi_guid_loaded_image_device_path;
extern const efi_guid_t efi_guid_device_path;
extern const efi_guid_t efi_simple_file_system_protocol_guid;
/* Generic EFI table header */ /* Generic EFI table header */
struct efi_table_hdr { struct efi_table_hdr {
u64 signature; u64 signature;

View File

@@ -316,7 +316,6 @@ extern const efi_guid_t efi_block_io_guid;
/* GUID of the EFI_SIMPLE_NETWORK_PROTOCOL */ /* GUID of the EFI_SIMPLE_NETWORK_PROTOCOL */
extern const efi_guid_t efi_net_guid; extern const efi_guid_t efi_net_guid;
extern const efi_guid_t efi_guid_console_control; extern const efi_guid_t efi_guid_console_control;
extern const efi_guid_t efi_guid_device_path;
/* GUID of the EFI system partition */ /* GUID of the EFI system partition */
extern const efi_guid_t efi_system_partition_guid; extern const efi_guid_t efi_system_partition_guid;
/* event group ExitBootServices() invoked */ /* event group ExitBootServices() invoked */
@@ -331,10 +330,7 @@ extern const efi_guid_t efi_guid_event_group_ready_to_boot;
extern const efi_guid_t efi_guid_event_group_reset_system; extern const efi_guid_t efi_guid_event_group_reset_system;
/* event group return to efibootmgr */ /* event group return to efibootmgr */
extern const efi_guid_t efi_guid_event_group_return_to_efibootmgr; extern const efi_guid_t efi_guid_event_group_return_to_efibootmgr;
extern const efi_guid_t efi_guid_loaded_image;
extern const efi_guid_t efi_guid_loaded_image_device_path;
extern const efi_guid_t efi_guid_device_path_to_text_protocol; extern const efi_guid_t efi_guid_device_path_to_text_protocol;
extern const efi_guid_t efi_simple_file_system_protocol_guid;
extern const efi_guid_t efi_file_info_guid; extern const efi_guid_t efi_file_info_guid;
/* GUID for file system information */ /* GUID for file system information */
extern const efi_guid_t efi_file_system_info_guid; extern const efi_guid_t efi_file_system_info_guid;