arch/loongarch/include/uapi/asm/hwcap.h

Source file repositories/reference/linux-study-clean/arch/loongarch/include/uapi/asm/hwcap.h

File Facts

System
Linux kernel
Corpus path
arch/loongarch/include/uapi/asm/hwcap.h
Extension
.h
Size
848 bytes
Lines
25
Domain
Architecture Layer
Bucket
arch/loongarch
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _UAPI_ASM_HWCAP_H
#define _UAPI_ASM_HWCAP_H

/* HWCAP flags */
#define HWCAP_LOONGARCH_CPUCFG		(1 << 0)
#define HWCAP_LOONGARCH_LAM		(1 << 1)
#define HWCAP_LOONGARCH_UAL		(1 << 2)
#define HWCAP_LOONGARCH_FPU		(1 << 3)
#define HWCAP_LOONGARCH_LSX		(1 << 4)
#define HWCAP_LOONGARCH_LASX		(1 << 5)
#define HWCAP_LOONGARCH_CRC32		(1 << 6)
#define HWCAP_LOONGARCH_COMPLEX		(1 << 7)
#define HWCAP_LOONGARCH_CRYPTO		(1 << 8)
#define HWCAP_LOONGARCH_LVZ		(1 << 9)
#define HWCAP_LOONGARCH_LBT_X86		(1 << 10)
#define HWCAP_LOONGARCH_LBT_ARM		(1 << 11)
#define HWCAP_LOONGARCH_LBT_MIPS	(1 << 12)
#define HWCAP_LOONGARCH_PTW		(1 << 13)
#define HWCAP_LOONGARCH_LSPW		(1 << 14)
#define HWCAP_LOONGARCH_SCQ		(1 << 15)
#define HWCAP_LOONGARCH_LAM_BH		(1 << 16)

#endif /* _UAPI_ASM_HWCAP_H */

Annotation

Implementation Notes