From c9baa30f42a87f61627391698f63fa4d1566d9d8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 7 Jun 2013 07:43:33 -0700 Subject: 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 --- include/elf.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/elf.h') diff --git a/include/elf.h b/include/elf.h index 6610ca2..667af6f 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 */ -- cgit v1.1