summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/efi_driver.h
diff options
context:
space:
mode:
authorMichael Brown2015-09-11 00:23:14 +0200
committerMichael Brown2015-09-13 14:08:08 +0200
commite727f576c266221c6ee62ae293506078ca6871b2 (patch)
tree03740c28a9eacb0192dc06e3412f2a0466bdcbcc /src/include/ipxe/efi/efi_driver.h
parent[efi] Provide efi_devpath_len() (diff)
downloadipxe-e727f576c266221c6ee62ae293506078ca6871b2.tar.gz
ipxe-e727f576c266221c6ee62ae293506078ca6871b2.tar.xz
ipxe-e727f576c266221c6ee62ae293506078ca6871b2.zip
[efi] Include a copy of the device path within struct efi_device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_driver.h')
-rw-r--r--src/include/ipxe/efi/efi_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_driver.h b/src/include/ipxe/efi/efi_driver.h
index f497df3e..74ece90d 100644
--- a/src/include/ipxe/efi/efi_driver.h
+++ b/src/include/ipxe/efi/efi_driver.h
@@ -19,6 +19,8 @@ struct efi_device {
struct device dev;
/** EFI device handle */
EFI_HANDLE device;
+ /** EFI device path copy */
+ EFI_DEVICE_PATH_PROTOCOL *path;
/** Driver for this device */
struct efi_driver *driver;
/** Driver-private data */