debuggers.hg

annotate 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
rev   line source
kaf24@3635 1
kaf24@3635 2 #ifndef __X86_REGS_H__
kaf24@3635 3 #define __X86_REGS_H__
ach61@2843 4
ach61@2843 5 #ifdef __x86_64__
ach61@2843 6 #include <asm/x86_64/regs.h>
ach61@2843 7 #else
ach61@2843 8 #include <asm/x86_32/regs.h>
ach61@2843 9 #endif
kaf24@3635 10
kaf24@3635 11 enum EFLAGS {
kaf24@3635 12 EF_CF = 0x00000001,
kaf24@3635 13 EF_PF = 0x00000004,
kaf24@3635 14 EF_AF = 0x00000010,
kaf24@3635 15 EF_ZF = 0x00000040,
kaf24@3635 16 EF_SF = 0x00000080,
kaf24@3635 17 EF_TF = 0x00000100,
kaf24@3635 18 EF_IE = 0x00000200,
kaf24@3635 19 EF_DF = 0x00000400,
kaf24@3635 20 EF_OF = 0x00000800,
kaf24@3635 21 EF_IOPL = 0x00003000,
kaf24@3635 22 EF_IOPL_RING0 = 0x00000000,
kaf24@3635 23 EF_IOPL_RING1 = 0x00001000,
kaf24@3635 24 EF_IOPL_RING2 = 0x00002000,
kaf24@3635 25 EF_NT = 0x00004000, /* nested task */
kaf24@3635 26 EF_RF = 0x00010000, /* resume */
kaf24@3635 27 EF_VM = 0x00020000, /* virtual mode */
kaf24@3635 28 EF_AC = 0x00040000, /* alignment */
kaf24@3635 29 EF_VIF = 0x00080000, /* virtual interrupt */
kaf24@3635 30 EF_VIP = 0x00100000, /* virtual interrupt pending */
kaf24@3635 31 EF_ID = 0x00200000, /* id */
kaf24@3635 32 };
kaf24@3635 33
kaf24@3635 34 #endif /* __X86_REGS_H__ */