aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/ipxe/pcicloud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/include/ipxe/pcicloud.h')
-rw-r--r--src/arch/x86/include/ipxe/pcicloud.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/include/ipxe/pcicloud.h b/src/arch/x86/include/ipxe/pcicloud.h
index 52268908c..1feef56cb 100644
--- a/src/arch/x86/include/ipxe/pcicloud.h
+++ b/src/arch/x86/include/ipxe/pcicloud.h
@@ -15,4 +15,14 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define PCIAPI_PREFIX_cloud __cloud_
#endif
+/**
+ * Check if PCI bus probing is allowed
+ *
+ * @ret ok Bus probing is allowed
+ */
+static inline __always_inline int
+PCIAPI_INLINE ( cloud, pci_can_probe ) ( void ) {
+ return 1;
+}
+
#endif /* _IPXE_PCICLOUD_H */