Implement lock IRQ nesting via stack variables/contexts
All checks were successful
Build documentation / build-and-deploy (push) Successful in 21s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 21s
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#ifndef _KERNEL_SYS_IRQ_H
|
||||
#define _KERNEL_SYS_IRQ_H
|
||||
|
||||
void irq_save (void);
|
||||
void irq_restore (void);
|
||||
#include <sys/spin_lock.h>
|
||||
|
||||
void irq_save (spin_lock_ctx_t* ctx);
|
||||
void irq_restore (spin_lock_ctx_t* ctx);
|
||||
|
||||
#endif // _KERNEL_SYS_IRQ_H
|
||||
|
||||
Reference in New Issue
Block a user