iPXE
bitops.h
Go to the documentation of this file.
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 */
int test_and_set_bit(unsigned int bit, volatile void *bits)
static unsigned int unsigned int bit
Definition: bigint.h:205
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
x86 bit operations
void set_bit(unsigned int bit, volatile void *bits)
static volatile void * bits
Definition: bitops.h:27
int test_and_clear_bit(unsigned int bit, volatile void *bits)
void clear_bit(unsigned int bit, volatile void *bits)