diff options
author | kaf24@viper.(none) <kaf24@viper.(none)> | 2005-02-01 23:14:05 +0000 |
---|---|---|
committer | kaf24@viper.(none) <kaf24@viper.(none)> | 2005-02-01 23:14:05 +0000 |
commit | 0c914c9072317d31a29ad52bd59dcdfa798090e8 (patch) | |
tree | 2eb27d82c4844eb30157f08cfdcb84afa401c958 /xen/include/asm-x86/regs.h | |
parent | 5d73339f8bc74d1ee5cbf7f68757f95888135b58 (diff) | |
download | xen-0c914c9072317d31a29ad52bd59dcdfa798090e8.tar.gz xen-0c914c9072317d31a29ad52bd59dcdfa798090e8.tar.bz2 xen-0c914c9072317d31a29ad52bd59dcdfa798090e8.zip |
bitkeeper revision 1.1159.235.1 (42000d3dwcPyT8aY4VIPYGCfCAJuQQ)
More x86/64. Status: traps.c now included in the build, but actual building
of IDT doesn't happen, and we need some sort of entry.S. More page-table
building required so that arch_init_memory() can work. And there is something
odd with MP-table parsing; I currently suspect that __init sections are
causing problems.
Signed-off-by: keir.fraser@cl.cam.ac.uk
Diffstat (limited to 'xen/include/asm-x86/regs.h')
-rw-r--r-- | xen/include/asm-x86/regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/regs.h b/xen/include/asm-x86/regs.h index 5ec347c139..3a9f5edb02 100644 --- a/xen/include/asm-x86/regs.h +++ b/xen/include/asm-x86/regs.h @@ -31,4 +31,6 @@ enum EFLAGS { EF_ID = 0x00200000, /* id */ }; +#define GUEST_FAULT(_r) (likely(VM86_MODE(_r) || !RING_0(_r))) + #endif /* __X86_REGS_H__ */ |