[ros-diffs] [tkreuzer] 44405: Add some msr constants

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri Dec 4 16:50:55 CET 2009


Author: tkreuzer
Date: Fri Dec  4 16:50:55 2009
New Revision: 44405

URL: http://svn.reactos.org/svn/reactos?rev=44405&view=rev
Log:
Add some msr constants

Modified:
    branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/ke.h

Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/ke.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/ke.h?rev=44405&r1=44404&r2=44405&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/ke.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/ke.h [iso-8859-1] Fri Dec  4 16:50:55 2009
@@ -41,10 +41,18 @@
 
 #define X86_MSR_GSBASE          0xC0000101
 #define X86_MSR_KERNEL_GSBASE   0xC0000102
+#define X86_MSR_EFER            0xC0000080
 #define X86_MSR_STAR            0xC0000081
 #define X86_MSR_LSTAR           0xC0000082
 #define X86_MSR_CSTAR           0xC0000083
 #define X86_MSR_SFMASK          0xC0000084
+
+#define EFER_SCE 0x01
+#define EFER_LME 0x10
+#define EFER_LMA 0x40
+#define EFER_NXE 0x80
+#define EFER_SVME 0x100
+#define EFER_FFXSR 0x400
 
 #define AMD64_TSS 9
 




More information about the Ros-diffs mailing list