Skip to content

Commit

Permalink
KVM: x86 emulator: Add missing EFLAGS bit definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Egger <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
aprzywar authored and avikivity committed Sep 10, 2009
1 parent 0cb5762 commit b1d8614
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,11 @@ static u32 group2_table[] = {
};

/* EFLAGS bit definitions. */
#define EFLG_VM (1<<17)
#define EFLG_RF (1<<16)
#define EFLG_OF (1<<11)
#define EFLG_DF (1<<10)
#define EFLG_IF (1<<9)
#define EFLG_SF (1<<7)
#define EFLG_ZF (1<<6)
#define EFLG_AF (1<<4)
Expand Down

0 comments on commit b1d8614

Please sign in to comment.