UEFI x64 interrupts help
Posted: Thu Nov 23, 2023 2:15 pm
Hi,
My project: https://github.com/Senc3951/EpsilonOS
I am developing a x64 uefi os. Implemented physical and virtual memory management and went on developing interrupt support. Regular interrupts are working but when attempting to execute fake interrupt between 10 and 15 or making a page fault, the interrupt handler is called infinitely with gpf until the program crashes. An example of what I said is located at kernel/src/main.cpp lines 37-39.
So executing a divide by zero interrupt is working correctly and only executed once, but these interrupts crash the program.
Thanks in advance.
My project: https://github.com/Senc3951/EpsilonOS
I am developing a x64 uefi os. Implemented physical and virtual memory management and went on developing interrupt support. Regular interrupts are working but when attempting to execute fake interrupt between 10 and 15 or making a page fault, the interrupt handler is called infinitely with gpf until the program crashes. An example of what I said is located at kernel/src/main.cpp lines 37-39.
So executing a divide by zero interrupt is working correctly and only executed once, but these interrupts crash the program.
Thanks in advance.