summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2025-03-10 12:15:04 +0100
committerMichael Brown2025-03-10 12:15:04 +0100
commit82fac51626ea524d60d77cebfbc98318b0a0f236 (patch)
tree4da503044cb940667c372cb9461a4fa8b8b67d74 /src/include
parent[lkrnprefix] Support a longer version string (diff)
downloadipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.tar.gz
ipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.tar.xz
ipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.zip
[efi] Mark UsbHostController.h as a non-imported header
The UsbHostController.h header has been removed from the EDK2 codebase since it was never defined in a released UEFI specification. However, we may still encounter it in the wild and so it is useful to retain the GUID and the corresponding protocol name for debug messages. Add an iPXE include guard to this file so that the EDK2 header import script will no longer attempt to import it from the EDK2 tree. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/efi/Protocol/UsbHostController.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/Protocol/UsbHostController.h b/src/include/ipxe/efi/Protocol/UsbHostController.h
index 5336f00b3..3ba091122 100644
--- a/src/include/ipxe/efi/Protocol/UsbHostController.h
+++ b/src/include/ipxe/efi/Protocol/UsbHostController.h
@@ -1,3 +1,6 @@
+#ifndef _IPXE_EFI_USBHOSTCONTROLLER_H
+#define _IPXE_EFI_USBHOSTCONTROLLER_H
+
/** @file
EFI_USB_HC_PROTOCOL as defined in EFI 1.10.
@@ -501,3 +504,5 @@ struct _EFI_USB_HC_PROTOCOL {
extern EFI_GUID gEfiUsbHcProtocolGuid;
#endif
+
+#endif /* _IPXE_EFI_USBHOSTCONTROLLER_H */