Spinlock save cpu flags
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
typedef atomic_flag spin_lock_t;
|
||||
|
||||
void spin_lock (spin_lock_t* sl);
|
||||
void spin_unlock (spin_lock_t* sl);
|
||||
void spin_lock (spin_lock_t* sl, uint64_t* flags);
|
||||
|
||||
void spin_unlock (spin_lock_t* sl, uint64_t flags);
|
||||
|
||||
#endif // _KERNEL_SYNC_SPIN_LOCK_H
|
||||
|
||||
Reference in New Issue
Block a user