16 lines
199 B
C
16 lines
199 B
C
#include <x86.h>
|
|
#include <intr.h>
|
|
|
|
/* intr_enable - enable irq interrupt */
|
|
void
|
|
intr_enable(void) {
|
|
sti();
|
|
}
|
|
|
|
/* intr_disable - disable irq interrupt */
|
|
void
|
|
intr_disable(void) {
|
|
cli();
|
|
}
|
|
|