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