aboutsummaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-03-26 12:22:40 +0200
committerHeinrich Schuchardt2023-04-01 10:11:50 +0200
commita9203b0fefca4627096779e4eb4b1efbea43ec35 (patch)
tree578bee4bf3a4ea86f62c983e52b85be3b4396b84 /include/efi_api.h
parentffc1cfb8f4cbd2bd28be5877040821ccbda3e08b (diff)
efi_loader: correct shortening of device-paths
We use short device-paths in boot options so that a file on a block device can be found independent of the port into which the device is plugged. Usb() device-path nodes only contain port and interface information and therefore cannot identify a block device. UsbWwi() device-path nodes contain the serial number of USB devices. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index c57868abbd9..404e9a1171a 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -610,6 +610,7 @@ struct efi_device_path_acpi_path {
# define DEVICE_PATH_SUB_TYPE_MSG_MAC_ADDR 0x0b
# define DEVICE_PATH_SUB_TYPE_MSG_UART 0x0e
# define DEVICE_PATH_SUB_TYPE_MSG_USB_CLASS 0x0f
+# define DEVICE_PATH_SUB_TYPE_MSG_USB_WWI 0x10
# define DEVICE_PATH_SUB_TYPE_MSG_SATA 0x12
# define DEVICE_PATH_SUB_TYPE_MSG_NVME 0x17
# define DEVICE_PATH_SUB_TYPE_MSG_URI 0x18