X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8ad349bb6ed4a0be06e34c92be0d98b92e078db4..5d5c5d0d5b79ade9a973d55186ffda2638ba2b6e:/osfmk/i386/eflags.h diff --git a/osfmk/i386/eflags.h b/osfmk/i386/eflags.h index 6d7fb2441..2d0894b4e 100644 --- a/osfmk/i386/eflags.h +++ b/osfmk/i386/eflags.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_OSREFERENCE_HEADER_START@ * @@ -65,7 +65,7 @@ * i386 flags register */ -#ifndef EFL_CF /* FIXME - this is pulled from mach/i386/eflags.h */ +#ifndef EFL_CF #define EFL_CF 0x00000001 /* carry */ #define EFL_PF 0x00000004 /* parity of low 8 bits */ #define EFL_AF 0x00000010 /* carry out of bit 3 */ @@ -87,6 +87,9 @@ #define EFL_ID 0x00200000 /* cpuID instruction */ #endif +#define EFL_CLR 0xfff88028 +#define EFL_SET 0x00000002 + #define EFL_USER_SET (EFL_IF) #define EFL_USER_CLEAR (EFL_IOPL|EFL_NT|EFL_RF)