debuggers.hg

diff xen/include/asm-x86/regs.h @ 3635:ed902e5c4b49

bitkeeper revision 1.1159.212.62 (41fff40aESe4aWS82z_rLHeonXpxuQ)

More x86/64 stuff.
Signed-off-by: keir.fraser@cl.cam.ac.uk
author kaf24@scramble.cl.cam.ac.uk
date Tue Feb 01 21:26:34 2005 +0000 (2005-02-01)
parents 61a55dee09d8
children 9a9c5a491401 e6af5d8f8b39 fd1dd0663b09
line diff
     1.1 --- a/xen/include/asm-x86/regs.h	Tue Feb 01 09:24:57 2005 +0000
     1.2 +++ b/xen/include/asm-x86/regs.h	Tue Feb 01 21:26:34 2005 +0000
     1.3 @@ -1,6 +1,34 @@
     1.4 +
     1.5 +#ifndef __X86_REGS_H__
     1.6 +#define __X86_REGS_H__
     1.7  
     1.8  #ifdef __x86_64__
     1.9  #include <asm/x86_64/regs.h>
    1.10  #else
    1.11  #include <asm/x86_32/regs.h>
    1.12  #endif
    1.13 +
    1.14 +enum EFLAGS {
    1.15 +    EF_CF   = 0x00000001,
    1.16 +    EF_PF   = 0x00000004,
    1.17 +    EF_AF   = 0x00000010,
    1.18 +    EF_ZF   = 0x00000040,
    1.19 +    EF_SF   = 0x00000080,
    1.20 +    EF_TF   = 0x00000100,
    1.21 +    EF_IE   = 0x00000200,
    1.22 +    EF_DF   = 0x00000400,
    1.23 +    EF_OF   = 0x00000800,
    1.24 +    EF_IOPL = 0x00003000,
    1.25 +    EF_IOPL_RING0 = 0x00000000,
    1.26 +    EF_IOPL_RING1 = 0x00001000,
    1.27 +    EF_IOPL_RING2 = 0x00002000,
    1.28 +    EF_NT   = 0x00004000,   /* nested task */
    1.29 +    EF_RF   = 0x00010000,   /* resume */
    1.30 +    EF_VM   = 0x00020000,   /* virtual mode */
    1.31 +    EF_AC   = 0x00040000,   /* alignment */
    1.32 +    EF_VIF  = 0x00080000,   /* virtual interrupt */
    1.33 +    EF_VIP  = 0x00100000,   /* virtual interrupt pending */
    1.34 +    EF_ID   = 0x00200000,   /* id */
    1.35 +};
    1.36 +
    1.37 +#endif /* __X86_REGS_H__ */