Page 1 of 1

GPF

Posted: Sun Apr 05, 2009 2:43 am
by octa
I get a GPF after setting IDT
on debugging
i got
jmp oxfffffffe

why is this ? why does a jmp to this address come ?

Re: GPF

Posted: Sun Apr 05, 2009 7:17 am
by Combuster
Your "debugging" is most likely off. What did you do to get your debugger say JMP 0xfffffffe, because I'm pretty sure that isn't there.

My guess is that you're looking at a JMP $, or equivalently, a while(1);, which also means that you are debugging the GPF handler rather than the actual fault.

Re: GPF

Posted: Sun Apr 05, 2009 11:18 am
by JohnnyTheDon
prave wrote:I get a GPF after setting IDT
on debugging
i got
jmp oxfffffffe
That is actually a negative number, pointing to the jmp instruction. The bochs debugger doesn't do signs.

The most likely culprit is a hardware interrupt. Have you moved/masked the PIC? Have you set up your interrupt service routines? Did you do an STI?