Hello,
I just added a register-dumping function to the FritzOS C++ kernel...
It also prints the value of EFLAGS.
Now, the hex value of EFLAGS is 0x6.
Why is EFLAGS 0x6? I'm in full PMode without ints enabled, just a GDT.
Thankyou,
eflags
Re:eflags
lo!
If you want informations about eflags look at http://www.sandpile.org/ia32/eflags.htm . There you can find out that 0x04 is the PF-Bit (Parity Flag). 0x02 should be always set. If the interrupts are disabled, 0x0100 should be cleared (The 9th bit).
If you want informations about eflags look at http://www.sandpile.org/ia32/eflags.htm . There you can find out that 0x04 is the PF-Bit (Parity Flag). 0x02 should be always set. If the interrupts are disabled, 0x0100 should be cleared (The 9th bit).