4 #ifndef __KERNEL_PREEMPT_H__
5 #define __KERNEL_PREEMPT_H__
7 void __preempt_disable(
void);
8 void __preempt_enable(
void);
10 void preempt_count_inc(
void);
11 void preempt_count_dec(
void);
12 int preempt_count(
void);
13 void preempt_count_set(uint32_t count);
void preempt_enable(void)
Enable all interrupts.
Definition: kernel.c:161
void preempt_disable(void)
Disable all interrupts.
Definition: kernel.c:152