#include <oskit/x86/eflags.h>
XXXThis header file can be used in assembly language code as well as C. The flags defined here correspond the the ones in the processor databooks.
- EFL_CF
- carry
- EFL_PF
- parity of low 8 bits
- EFL_AF
- carry out of bit 3
- EFL_ZF
- zero
- EFL_SF
- sign
- EFL_TF
- trace trap
- EFL_IF
- interrupt enable
- EFL_DF
- direction
- EFL_OF
- overflow
- EFL_IOPL
- IO privilege level mask. All 0's is the same as EFL_IOPL_KERNEL, while all 1's (or just EFL_IOPL) is the same as EFL_IOPL_USER.
- EFL_NT
- nested task
- EFL_RF
- resume without tracing
- EFL_VM
- virtual 8086 mode
- EFL_AC
- alignment check
- EFL_VIF
- virtual interrupt flag
- EFL_VIP
- virtual interrupt pending
- EFL_ID
- CPUID instruction support