Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _UAPI__ASM_HWCAP_H |
| 20 | #define _UAPI__ASM_HWCAP_H |
| 21 | #define HWCAP_FP (1 << 0) |
| 22 | #define HWCAP_ASIMD (1 << 1) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 23 | #define HWCAP_EVTSTRM (1 << 2) |
| 24 | #define HWCAP_AES (1 << 3) |
| 25 | #define HWCAP_PMULL (1 << 4) |
| 26 | #define HWCAP_SHA1 (1 << 5) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 27 | #define HWCAP_SHA2 (1 << 6) |
| 28 | #define HWCAP_CRC32 (1 << 7) |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 29 | #define HWCAP_ATOMICS (1 << 8) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 30 | #define HWCAP_FPHP (1 << 9) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 31 | #define HWCAP_ASIMDHP (1 << 10) |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 32 | #define HWCAP_CPUID (1 << 11) |
| 33 | #define HWCAP_ASIMDRDM (1 << 12) |
| 34 | #define HWCAP_JSCVT (1 << 13) |
| 35 | #define HWCAP_FCMA (1 << 14) |
| 36 | #define HWCAP_LRCPC (1 << 15) |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 37 | #define HWCAP_DCPOP (1 << 16) |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 38 | #define HWCAP_SHA3 (1 << 17) |
| 39 | #define HWCAP_SM3 (1 << 18) |
| 40 | #define HWCAP_SM4 (1 << 19) |
| 41 | #define HWCAP_ASIMDDP (1 << 20) |
| 42 | #define HWCAP_SHA512 (1 << 21) |
| 43 | #define HWCAP_SVE (1 << 22) |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 44 | #define HWCAP_ASIMDFHM (1 << 23) |
| 45 | #define HWCAP_DIT (1 << 24) |
| 46 | #define HWCAP_USCAT (1 << 25) |
| 47 | #define HWCAP_ILRCPC (1 << 26) |
| 48 | #define HWCAP_FLAGM (1 << 27) |
Christopher Ferris | 86a4837 | 2019-01-10 14:14:59 -0800 | [diff] [blame] | 49 | #define HWCAP_SSBS (1 << 28) |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 50 | #define HWCAP_SB (1 << 29) |
| 51 | #define HWCAP_PACA (1 << 30) |
| 52 | #define HWCAP_PACG (1UL << 31) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 53 | #endif |