aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2025-03-10 11:15:04 +0000
committerMichael Brown <mcb30@ipxe.org>2025-03-10 11:15:04 +0000
commit82fac51626ea524d60d77cebfbc98318b0a0f236 (patch)
tree4da503044cb940667c372cb9461a4fa8b8b67d74 /src
parentbe3a78eaf804a2c437aa055d5c1e2f4a1310a0c1 (diff)
downloadipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.zip
ipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.tar.gz
ipxe-82fac51626ea524d60d77cebfbc98318b0a0f236.tar.bz2
[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')
-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 5336f00..3ba0911 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 */