iPXE
include
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
FILE_SECBOOT
( PERMITTED );
12
13
#include <
bits/bitops.h
>
14
15
void
set_bit
(
unsigned
int
bit
,
volatile
void
*
bits
);
16
void
clear_bit
(
unsigned
int
bit
,
volatile
void
*
bits
);
17
int
test_and_set_bit
(
unsigned
int
bit
,
volatile
void
*
bits
);
18
int
test_and_clear_bit
(
unsigned
int
bit
,
volatile
void
*
bits
);
19
20
#endif
/* _IPXE_BITOPS_H */
bitops.h
x86 bit operations
bits
static volatile void * bits
Definition
bitops.h:28
FILE_LICENCE
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition
compiler.h:896
FILE_SECBOOT
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition
compiler.h:926
bit
static unsigned int unsigned int bit
Definition
bigint.h:392
test_and_clear_bit
int test_and_clear_bit(unsigned int bit, volatile void *bits)
test_and_set_bit
int test_and_set_bit(unsigned int bit, volatile void *bits)
clear_bit
#define clear_bit(bit, loc)
Definition
vxge_main.h:167
set_bit
#define set_bit(bit, loc)
Definition
vxge_main.h:166
Generated by
1.14.0