arch/x86/include/uapi/asm/hwcap2.h

Source file repositories/reference/linux-study-clean/arch/x86/include/uapi/asm/hwcap2.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/uapi/asm/hwcap2.h
Extension
.h
Size
324 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/x86
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 _ASM_X86_HWCAP2_H
#define _ASM_X86_HWCAP2_H

#include <linux/const.h>

/* MONITOR/MWAIT enabled in Ring 3 */
#define HWCAP2_RING3MWAIT		_BITUL(0)

/* Kernel allows FSGSBASE instructions available in Ring 3 */
#define HWCAP2_FSGSBASE			_BITUL(1)

#endif

Annotation

Implementation Notes