• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 _ASM_HWCAP_H
20 #define _ASM_HWCAP_H
21 
22 /* HWCAP flags */
23 #define HWCAP_LOONGARCH_CPUCFG		(1 << 0)
24 #define HWCAP_LOONGARCH_LAM		(1 << 1)
25 #define HWCAP_LOONGARCH_UAL		(1 << 2)
26 #define HWCAP_LOONGARCH_FPU		(1 << 3)
27 #define HWCAP_LOONGARCH_LSX		(1 << 4)
28 #define HWCAP_LOONGARCH_LASX		(1 << 5)
29 #define HWCAP_LOONGARCH_CRC32		(1 << 6)
30 #define HWCAP_LOONGARCH_COMPLEX		(1 << 7)
31 #define HWCAP_LOONGARCH_CRYPTO		(1 << 8)
32 #define HWCAP_LOONGARCH_LVZ		(1 << 9)
33 #define HWCAP_LOONGARCH_LBT_X86		(1 << 10)
34 #define HWCAP_LOONGARCH_LBT_ARM		(1 << 11)
35 #define HWCAP_LOONGARCH_LBT_MIPS	(1 << 12)
36 #define HWCAP_LOONGARCH_PTW		(1 << 13)
37 
38 #endif /* _ASM_HWCAP_H */
39