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!
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.
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.