aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/asm-x86/asm/msr.h
diff options
context:
space:
mode:
Diffstat (limited to 'original/uapi/asm-x86/asm/msr.h')
-rw-r--r--original/uapi/asm-x86/asm/msr.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/original/uapi/asm-x86/asm/msr.h b/original/uapi/asm-x86/asm/msr.h
new file mode 100644
index 0000000..155e510
--- /dev/null
+++ b/original/uapi/asm-x86/asm/msr.h
@@ -0,0 +1,15 @@
+#ifndef _UAPI_ASM_X86_MSR_H
+#define _UAPI_ASM_X86_MSR_H
+
+#include <asm/msr-index.h>
+
+#ifndef __ASSEMBLY__
+
+#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 /* __ASSEMBLY__ */
+#endif /* _UAPI_ASM_X86_MSR_H */