aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86_emulate.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2009-06-17 09:50:32 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:33:00 -0400
commitb1d861431ed58f752b31e8c07da029072989bec7 (patch)
tree3cc3201898a494b7a2d401a7c086297369107b3f /arch/x86/kvm/x86_emulate.c
parent0cb5762ed2b3113b3b8aa84d1d26b815aea71787 (diff)
KVM: x86 emulator: Add missing EFLAGS bit definitions
Signed-off-by: Christoph Egger <christoph.egger@amd.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86_emulate.c')
-rw-r--r--arch/x86/kvm/x86_emulate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index ef4dfca3ed7e..67af33aeb3f3 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -320,8 +320,11 @@ static u32 group2_table[] = {
320}; 320};
321 321
322/* EFLAGS bit definitions. */ 322/* EFLAGS bit definitions. */
323#define EFLG_VM (1<<17)
324#define EFLG_RF (1<<16)
323#define EFLG_OF (1<<11) 325#define EFLG_OF (1<<11)
324#define EFLG_DF (1<<10) 326#define EFLG_DF (1<<10)
327#define EFLG_IF (1<<9)
325#define EFLG_SF (1<<7) 328#define EFLG_SF (1<<7)
326#define EFLG_ZF (1<<6) 329#define EFLG_ZF (1<<6)
327#define EFLG_AF (1<<4) 330#define EFLG_AF (1<<4)