the code of the No.32 interrupt entry is:
Code: Select all
hwint32:
inc byte [0xb8000]
iretq
Code: Select all
__asm__ volatile ("int $32");
I did all the thing in ring0, so there won't be any privilege changes. But I'm still getting this exception. Am I missing anything to implement 64-bit mode interrupt? How did you achieve interrupts under 64-bit mode?