xref: /openbmc/linux/arch/x86/include/uapi/asm/msr.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2af170c50SDavid Howells #ifndef _UAPI_ASM_X86_MSR_H
3af170c50SDavid Howells #define _UAPI_ASM_X86_MSR_H
4af170c50SDavid Howells 
5af170c50SDavid Howells #ifndef __ASSEMBLY__
6af170c50SDavid Howells 
7af170c50SDavid Howells #include <linux/types.h>
8af170c50SDavid Howells #include <linux/ioctl.h>
9af170c50SDavid Howells 
10af170c50SDavid Howells #define X86_IOC_RDMSR_REGS	_IOWR('c', 0xA0, __u32[8])
11af170c50SDavid Howells #define X86_IOC_WRMSR_REGS	_IOWR('c', 0xA1, __u32[8])
12af170c50SDavid Howells 
13af170c50SDavid Howells #endif /* __ASSEMBLY__ */
14af170c50SDavid Howells #endif /* _UAPI_ASM_X86_MSR_H */
15