blob: 59a4fb442fdbf49f252f1f51b67ab981f5d42c23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _IPXE_BITOPS_H
#define _IPXE_BITOPS_H
/** @file
*
* Bit operations
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FILE_SECBOOT ( PERMITTED );
#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 */
|