]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Add flag definitions.
authorMichael Brown <mcb30@etherboot.org>
Sat, 13 May 2006 11:42:07 +0000 (11:42 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 13 May 2006 11:42:07 +0000 (11:42 +0000)
src/arch/i386/include/registers.h

index 666532389061979293f61356285cc020e5a6768a..2b9b2b43a214deed152294ae5a4d0d21b89b7cf0 100644 (file)
@@ -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 */