diff options
author | Andre Przywara <andre.przywara@arm.com> | 2015-06-01 15:51:11 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-06-01 17:54:09 +0100 |
commit | 813359ed4ad84c785148ab2d321031fe159456ad (patch) | |
tree | 34faa0e158645ea4e9e0d1b1716aedf8dd2a93d9 | |
parent | 1cbb2c50ce18b5b2bd780f5a330f7b6e11311105 (diff) | |
download | kvmtool-813359ed4ad84c785148ab2d321031fe159456ad.tar.gz |
kvmtool: add processor-flags.h with the single EFLAGS_CF define
Two BIOS source files used a definition from <asm/processor-flags.h>,
which could not be found on x86_64 multiarch machines without the
compat headers installed.
Create a file with the single definition actually used in the kvmtool
source tree.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | x86/include/asm/processor-flags.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x86/include/asm/processor-flags.h b/x86/include/asm/processor-flags.h new file mode 100644 index 00000000..07c2834e --- /dev/null +++ b/x86/include/asm/processor-flags.h @@ -0,0 +1,10 @@ +#ifndef _ASM_X86_PROCESSOR_FLAGS_H +#define _ASM_X86_PROCESSOR_FLAGS_H +/* Various flags defined: can be included from assembler. */ + +/* + * EFLAGS bits + */ +#define X86_EFLAGS_CF 0x00000001 /* Carry Flag */ + +#endif |