iPXE
pcicloud.h
Go to the documentation of this file.
1 #ifndef _IPXE_PCICLOUD_H
2 #define _IPXE_PCICLOUD_H
3 
4 /** @file
5  *
6  * Cloud VM PCI configuration space access
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #ifdef PCIAPI_CLOUD
13 #define PCIAPI_PREFIX_cloud
14 #else
15 #define PCIAPI_PREFIX_cloud __cloud_
16 #endif
17 
18 /**
19  * Check if PCI bus probing is allowed
20  *
21  * @ret ok Bus probing is allowed
22  */
23 static inline __always_inline int
24 PCIAPI_INLINE ( cloud, pci_can_probe ) ( void ) {
25  return 1;
26 }
27 
28 #endif /* _IPXE_PCICLOUD_H */
int pci_can_probe(void)
Check if PCI bus probing is allowed.
static __always_inline int PCIAPI_INLINE(cloud, pci_can_probe)(void)
Check if PCI bus probing is allowed.
Definition: pcicloud.h:24
#define __always_inline
Declare a function to be always inline.
Definition: compiler.h:611
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)