Page 1 of 1

UEFI x64 interrupts help

Posted: Thu Nov 23, 2023 2:15 pm
by Senc39
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.

Re: UEFI x64 interrupts help

Posted: Tue Feb 13, 2024 12:16 pm
by Octocontrabass
Did you figure out what was wrong before you deleted your code?