iPXE
null_nap.h
Go to the documentation of this file.
00001 #ifndef _IPXE_NULL_NAP_H
00002 #define _IPXE_NULL_NAP_H
00003 
00004 /** @file
00005  *
00006  * Null CPU sleeping
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #ifdef NAP_NULL
00013 #define NAP_PREFIX_null
00014 #else
00015 #define NAP_PREFIX_null __null_
00016 #endif
00017 
00018 static inline __always_inline void
00019 NAP_INLINE ( null, cpu_nap ) ( void ) {
00020         /* Do nothing */
00021 }
00022 
00023 #endif /* _IPXE_NULL_NAP_H */