gmarino2048 / 64bit-os-tutorial

This OS Tutorial expands on the fundamental concepts covered in cfenollosa/os-tutorial and covers entering long mode on the x86_64 architecture. It also uses clang rather than relying on an external crosscompiler. I plan on keeping it up to date, so feel free to submit an issue!
MIT License
172 stars 19 forks source link

Interrupts do not return properly #14

Closed gmarino2048 closed 5 months ago

gmarino2048 commented 5 months ago

The IDT seems configured to catch and run interrupts, but those interrupts are then not returned from properly. This likely has something to do with me messing up the stack when pushing and popping from the isr_defs.asm file, and should be cleaned up. I've been meaning to overhaul interrupt handling anyway, so I'll lump that in with this work as well.