hi
when i mask a specific interrupt by sending a byte to port 0x21, what happens when i reenable that interrupt again later? will any masked interrupts now be triggered or are they lost?
if they're lost, is there anything similiar to signals, where i can block specific signals with sigprocmask and then receive them later by unblocking them??
thanks
martin
masking interrupts
-
- Member
- Posts: 199
- Joined: Fri Jul 13, 2007 6:37 am
- Location: Stuttgart/Germany
- Contact:
Re: masking interrupts
Hello,
When an interrupt is masked, any interrupt request on that line is ignored by the controller, so the interrupt signals are lost. When it is unmasked, the interrupts continue as normal.
When an interrupt is masked, any interrupt request on that line is ignored by the controller, so the interrupt signals are lost. When it is unmasked, the interrupts continue as normal.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}