Use intr_enable() and intr_disable() to perform cli/sti
This commit is contained in:
8
kernel/sys/intr.h
Normal file
8
kernel/sys/intr.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef _KERNEL_SYS_INTR_H
|
||||
#define _KERNEL_SYS_INTR_H
|
||||
|
||||
void intr_disable(void);
|
||||
|
||||
void intr_enable(void);
|
||||
|
||||
#endif // _KERNEL_SYS_INTR_H
|
||||
Reference in New Issue
Block a user