h2: Fix bluetooth driver build, missing PrivateKernelHeaders
* We likely should move all of this stuff to normal atomic test and set operations at some point.
This commit is contained in:
@@ -70,6 +70,9 @@
|
||||
#define CHECK_BIT(a, b) ((a) & (1 << (b)))
|
||||
#define SET_BIT(a, b) ((a) | (1 << (b)))
|
||||
#define CLEAR_BIT(a, b) ((a) & (~(1 << (b))))
|
||||
#define GET_BIT(a, b) ((a & b) != 0)
|
||||
#define TOOGLE_BIT(a, b) (a ^= b)
|
||||
|
||||
|
||||
/* during kernel startup, interrupts are disabled (among other things) */
|
||||
extern bool gKernelStartup;
|
||||
|
||||
Reference in New Issue
Block a user