diff options
Diffstat (limited to 'include/arch/x86_64/asm/msr.h')
| -rw-r--r-- | include/arch/x86_64/asm/msr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/arch/x86_64/asm/msr.h b/include/arch/x86_64/asm/msr.h new file mode 100644 index 00000000..dcc7de2b --- /dev/null +++ b/include/arch/x86_64/asm/msr.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_X86_MSR_H +#define _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 /* _ASM_X86_MSR_H */ |
