mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 16:23:16 +01:00
Initial commit
This commit is contained in:
12
include/l4/generic/preempt.h
Normal file
12
include/l4/generic/preempt.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Kernel preemption functions.
|
||||
*/
|
||||
#ifndef __PREEMPT_H__
|
||||
#define __PREEMPT_H__
|
||||
|
||||
void preempt_enable(void);
|
||||
void preempt_disable(void);
|
||||
int preemptive(void);
|
||||
int preempt_count(void);
|
||||
|
||||
#endif /* __PREEMPT_H__ */
|
||||
Reference in New Issue
Block a user