1 #ifndef _IPXE_BITOPS_H
2 #define _IPXE_BITOPS_H
3 
4 /** @file
5  *
6  * Bit operations
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <bits/bitops.h>
13 
14 void set_bit ( unsigned int bit, volatile void *bits );
15 void clear_bit ( unsigned int bit, volatile void *bits );
16 int test_and_set_bit ( unsigned int bit, volatile void *bits );
17 int test_and_clear_bit ( unsigned int bit, volatile void *bits );
18 
19 #endif /* _IPXE_BITOPS_H */
20