mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
* Add missing Linux headers. Closes #9837 * Update existing headers to latest Linux. * Consolidate headers that are the same for multiple Zig target CPU architectures. For example, Linux has only an x86 directory for both x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory for Linux headers, and will emit the proper corresponding -isystem flags. * tools/update-linux-headers.zig is now available for upgrading to newer Linux headers, and the update process is now documented on the wiki.
22 lines
No EOL
699 B
C
Vendored
22 lines
No EOL
699 B
C
Vendored
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _ASM_HWCAP_H
|
|
#define _ASM_HWCAP_H
|
|
|
|
/* HWCAP flags */
|
|
#define HWCAP_MIPS_R6 (1 << 0)
|
|
#define HWCAP_MIPS_MSA (1 << 1)
|
|
#define HWCAP_MIPS_CRC32 (1 << 2)
|
|
#define HWCAP_MIPS_MIPS16 (1 << 3)
|
|
#define HWCAP_MIPS_MDMX (1 << 4)
|
|
#define HWCAP_MIPS_MIPS3D (1 << 5)
|
|
#define HWCAP_MIPS_SMARTMIPS (1 << 6)
|
|
#define HWCAP_MIPS_DSP (1 << 7)
|
|
#define HWCAP_MIPS_DSP2 (1 << 8)
|
|
#define HWCAP_MIPS_DSP3 (1 << 9)
|
|
#define HWCAP_MIPS_MIPS16E2 (1 << 10)
|
|
#define HWCAP_LOONGSON_MMI (1 << 11)
|
|
#define HWCAP_LOONGSON_EXT (1 << 12)
|
|
#define HWCAP_LOONGSON_EXT2 (1 << 13)
|
|
#define HWCAP_LOONGSON_CPUCFG (1 << 14)
|
|
|
|
#endif /* _ASM_HWCAP_H */ |