1 /* Defines for bits in AT_HWCAP. 2 Copyright (C) 2012-2022 Free Software Foundation, Inc. 3 This file is part of the GNU C Library. 4 5 The GNU C Library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public 7 License as published by the Free Software Foundation; either 8 version 2.1 of the License, or (at your option) any later version. 9 10 The GNU C Library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with the GNU C Library; if not, see 17 <https://www.gnu.org/licenses/>. */ 18 19 #ifndef _SYS_AUXV_H 20 # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." 21 #endif 22 23 /* 24 * The following must match the kernels asm/elf.h. 25 * Note: The kernel commit 511ad531afd4090625def4d9aba1f5227bd44b8e 26 * "s390/hwcaps: shorten HWCAP defines" has shortened the prefix of the macros 27 * from "HWCAP_S390_" to "HWCAP_". For compatibility reasons, we do not 28 * change the prefix in public glibc header file. 29 * 30 * Note that these are *not* the same as the STORE FACILITY LIST bits. 31 */ 32 #define HWCAP_S390_ESAN3 1 33 #define HWCAP_S390_ZARCH 2 34 #define HWCAP_S390_STFLE 4 35 #define HWCAP_S390_MSA 8 36 #define HWCAP_S390_LDISP 16 37 #define HWCAP_S390_EIMM 32 38 #define HWCAP_S390_DFP 64 39 #define HWCAP_S390_HPAGE 128 40 #define HWCAP_S390_ETF3EH 256 41 #define HWCAP_S390_HIGH_GPRS 512 42 #define HWCAP_S390_TE 1024 43 #define HWCAP_S390_VX 2048 44 #define HWCAP_S390_VXRS HWCAP_S390_VX 45 #define HWCAP_S390_VXD 4096 46 #define HWCAP_S390_VXRS_BCD HWCAP_S390_VXD 47 #define HWCAP_S390_VXE 8192 48 #define HWCAP_S390_VXRS_EXT HWCAP_S390_VXE 49 #define HWCAP_S390_GS 16384 50 #define HWCAP_S390_VXRS_EXT2 32768 51 #define HWCAP_S390_VXRS_PDE 65536 52 #define HWCAP_S390_SORT 131072 53 #define HWCAP_S390_DFLT 262144 54 #define HWCAP_S390_VXRS_PDE2 524288 55 #define HWCAP_S390_NNPA 1048576 56 #define HWCAP_S390_PCI_MIO 2097152 57 #define HWCAP_S390_SIE 4194304 58