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

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

File Facts

System
Linux kernel
Corpus path
arch/x86/include/uapi/asm/msr.h
Extension
.h
Size
363 bytes
Lines
15
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 _UAPI_ASM_X86_MSR_H
#define _UAPI_ASM_X86_MSR_H

#ifndef __ASSEMBLER__

#include <linux/types.h>
#include <linux/ioctl.h>

#define X86_IOC_RDMSR_REGS	_IOWR('c', 0xA0, __u32[8])
#define X86_IOC_WRMSR_REGS	_IOWR('c', 0xA1, __u32[8])

#endif /* __ASSEMBLER__ */
#endif /* _UAPI_ASM_X86_MSR_H */

Annotation

Implementation Notes