summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/errfile.h
diff options
context:
space:
mode:
authorMichael Brown2024-03-05 21:00:15 +0100
committerMichael Brown2024-03-06 17:11:29 +0100
commitc4471e3408d85c51a69991974985fe283d869eac (patch)
treec3e24fa6bb2386dbbcf19993e26dc8ba1b29b685 /src/include/ipxe/errfile.h
parent[block] Allow for additional SAN boot parameters alongside filename (diff)
downloadipxe-c4471e3408d85c51a69991974985fe283d869eac.tar.gz
ipxe-c4471e3408d85c51a69991974985fe283d869eac.tar.xz
ipxe-c4471e3408d85c51a69991974985fe283d869eac.zip
[efi] Add efi_path_guid() utility function
EFI provides no API for determining the partition GUID (if any) for a specified device handle. The partition GUID appears to be exposed only as part of the device path. Add efi_path_guid() to extract the partition GUID (if any) from a device path. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
-rw-r--r--src/include/ipxe/errfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h
index 7cff594d..1fe34113 100644
--- a/src/include/ipxe/errfile.h
+++ b/src/include/ipxe/errfile.h
@@ -80,6 +80,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define ERRFILE_acpimac ( ERRFILE_CORE | 0x00280000 )
#define ERRFILE_efi_strings ( ERRFILE_CORE | 0x00290000 )
#define ERRFILE_uuid ( ERRFILE_CORE | 0x002a0000 )
+#define ERRFILE_efi_path ( ERRFILE_CORE | 0x002b0000 )
#define ERRFILE_eisa ( ERRFILE_DRIVER | 0x00000000 )
#define ERRFILE_isa ( ERRFILE_DRIVER | 0x00010000 )