Have you ever seen GPF error code to be odd?
When set up an invalid user-mode GDT entry, it threw me exception with error code with first three bits clear.
Is it possible since the GDT and IDT entries are 8 bytes long?
This happened to me:
What can be wrong here?
Last edited by HugeCode on Sat Jun 29, 2013 2:09 am, edited 2 times in total.
I'm not invoking any interrupt there. I tried to clear HW ints and it doesn't occur.... Interesting... The only thing I set is timer, and that is located on 0x100 (0 -timer mapped to 0x20). So if it's timer, why are there additional 3? Does it have something to do with user mode?
Why is it that some people consider this forum as an alternative to reading the manual? If you had read it, you would have known what the error code meant, namely that there was a problem with IDT entry 0x20 when processing a hardware interrupt.