After trying to find where is the problem in my interrupt handler for weeks, i come here to ask for you help.
I currently try to write an x64 os for UEFI (using microsoft x64 abi as i crosscompile with mingw)
My os load, prepare the graphics driver for console use, exit UEFI world and the kernel function take the lead.
I then load a new gdt and idt.
As expected when i activate the interrupt, irq 0 triggers.
My asm handler is called then the c handler(i achieve to display the registers for debug purpose).
But when the code exit the interrupt asm handler (reach iretq instruction), int 13 is triggered, i suppose because i messed up with something, maybe the stack.
I also tried to put a blank tss, to solve the problem without success.
I attached the interrupt part of the code but if you need more part i'll write it directly (i could only attach 3 files)
Thanks in advance
