diff options
author | Richard Henderson <rth@twiddle.net> | 2013-06-07 07:43:33 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-11-30 07:45:30 +1300 |
commit | c9baa30f42a87f61627391698f63fa4d1566d9d8 (patch) | |
tree | 012f352b06ae68c761a7f6f39ef81b1731407843 /include | |
parent | 41d9ea80ac8455845494c889fe6ac447b39a7d64 (diff) |
tcg-s390: Use qemu_getauxval in query_facilities
No need to set up a SIGILL signal handler for detection anymore.
Remove a ton of sanity checks that must be true, given that we're
requiring a 64-bit build (the note about 31-bit KVM is satisfied
by configuring with TCI).
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h index 6610ca29d1..667af6fc63 100644 --- a/include/elf.h +++ b/include/elf.h @@ -479,6 +479,20 @@ typedef struct { #define HWCAP_SPARC_V9 16 #define HWCAP_SPARC_ULTRA3 32 +/* Bits present in AT_HWCAP for s390. */ + +#define HWCAP_S390_ESAN3 1 +#define HWCAP_S390_ZARCH 2 +#define HWCAP_S390_STFLE 4 +#define HWCAP_S390_MSA 8 +#define HWCAP_S390_LDISP 16 +#define HWCAP_S390_EIMM 32 +#define HWCAP_S390_DFP 64 +#define HWCAP_S390_HPAGE 128 +#define HWCAP_S390_ETF3EH 256 +#define HWCAP_S390_HIGH_GPRS 512 +#define HWCAP_S390_TE 1024 + /* * 68k ELF relocation types */ |