mirror of https://github.com/ipxe/ipxe.git
Add flag definitions.
parent
d2c22ec9bb
commit
a27defa483
|
@ -176,4 +176,12 @@ struct i386_all_regs {
|
|||
uint32_t flags;
|
||||
} PACKED;
|
||||
|
||||
/* Flags */
|
||||
#define CF ( 1 << 0 )
|
||||
#define PF ( 1 << 2 )
|
||||
#define AF ( 1 << 4 )
|
||||
#define ZF ( 1 << 6 )
|
||||
#define SF ( 1 << 7 )
|
||||
#define OF ( 1 << 11 )
|
||||
|
||||
#endif /* REGISTERS_H */
|
||||
|
|
Loading…
Reference in New Issue