UEFI x64 interrupts help

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Senc39
Posts: 5
Joined: Thu Nov 23, 2023 2:07 pm

UEFI x64 interrupts help

Post 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.
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: UEFI x64 interrupts help

Post by Octocontrabass »

Did you figure out what was wrong before you deleted your code?
Post Reply