This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关闭全局中断函数无法起作用



我在一个BIOS工程里,创建了一个进程和一个定时器,定时器每一秒打印一次计数,当打印到第3次时,我在进程里关闭全局中断,即_disable_interrupts,但是定时器打印依旧在继续,也就是依旧在处理中断,想请问一下是什么原因,怎样才能关闭全局中断不让它响应