OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 2:46 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: UEFI x64 interrupts help
PostPosted: Thu Nov 23, 2023 2:15 pm 
Offline

Joined: Thu Nov 23, 2023 2:07 pm
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: UEFI x64 interrupts help
PostPosted: Tue Feb 13, 2024 12:16 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
Did you figure out what was wrong before you deleted your code?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot], SemrushBot [Bot] and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group