iPXE
bitops.h
Go to the documentation of this file.
00001 #ifndef _IPXE_BITOPS_H
00002 #define _IPXE_BITOPS_H
00003 
00004 /** @file
00005  *
00006  * Bit operations
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <bits/bitops.h>
00013 
00014 void set_bit ( unsigned int bit, volatile void *bits );
00015 void clear_bit ( unsigned int bit, volatile void *bits );
00016 int test_and_set_bit ( unsigned int bit, volatile void *bits );
00017 int test_and_clear_bit ( unsigned int bit, volatile void *bits );
00018 
00019 #endif /* _IPXE_BITOPS_H */