A question about double faults
Posted: Wed Mar 13, 2024 7:31 pm
Both the OSDev Wiki and the Intel Software Developer’s Manual state that if an exception occurs when inside another exception handler, under certain condition, the details of which are not really important to the question, a double fault occurs. How does the CPU know if it is executing a handler already? Does IRET clear some internal register which is set when an interrupt occurs?
Thanks
Thanks