diff options
Diffstat (limited to '')
-rw-r--r-- | src/VBox/Devices/PC/ipxe/src/include/ipxe/null_nap.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/VBox/Devices/PC/ipxe/src/include/ipxe/null_nap.h b/src/VBox/Devices/PC/ipxe/src/include/ipxe/null_nap.h new file mode 100644 index 00000000..17145b48 --- /dev/null +++ b/src/VBox/Devices/PC/ipxe/src/include/ipxe/null_nap.h @@ -0,0 +1,23 @@ +#ifndef _IPXE_NULL_NAP_H +#define _IPXE_NULL_NAP_H + +/** @file + * + * Null CPU sleeping + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#ifdef NAP_NULL +#define NAP_PREFIX_null +#else +#define NAP_PREFIX_null __null_ +#endif + +static inline __always_inline void +NAP_INLINE ( null, cpu_nap ) ( void ) { + /* Do nothing */ +} + +#endif /* _IPXE_NULL_NAP_H */ |