Use intr_enable() and intr_disable() to perform cli/sti
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 1m30s
Build documentation / build-and-deploy (push) Successful in 48s

This commit is contained in:
2026-04-26 23:06:12 +02:00
parent a2ed5c2b8a
commit c191ac0a50
6 changed files with 22 additions and 5 deletions

8
kernel/sys/intr.h Normal file
View 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