Author: kib
Date: Thu Jul  5 10:34:01 2018
New Revision: 335975
URL: https://svnweb.freebsd.org/changeset/base/335975

Log:
  Order the portion of the AMD-specific MSRs names definitions numerically.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/sys/x86/include/specialreg.h

Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h   Thu Jul  5 03:33:58 2018        
(r335974)
+++ head/sys/x86/include/specialreg.h   Thu Jul  5 10:34:01 2018        
(r335975)
@@ -998,18 +998,18 @@
 #define        MSR_TOP_MEM     0xc001001a      /* boundary for ram below 4G */
 #define        MSR_TOP_MEM2    0xc001001d      /* boundary for ram above 4G */
 #define        MSR_NB_CFG1     0xc001001f      /* NB configuration 1 */
+#define        MSR_K8_UCODE_UPDATE 0xc0010020  /* update microcode */
+#define        MSR_MC0_CTL_MASK 0xc0010044
 #define        MSR_P_STATE_LIMIT 0xc0010061    /* P-state Current Limit 
Register */
 #define        MSR_P_STATE_CONTROL 0xc0010062  /* P-state Control Register */
 #define        MSR_P_STATE_STATUS 0xc0010063   /* P-state Status Register */
 #define        MSR_P_STATE_CONFIG(n) (0xc0010064 + (n)) /* P-state Config */
 #define        MSR_SMM_ADDR    0xc0010112      /* SMM TSEG base address */
 #define        MSR_SMM_MASK    0xc0010113      /* SMM TSEG address mask */
+#define        MSR_VM_CR       0xc0010114      /* SVM: feature control */
+#define        MSR_VM_HSAVE_PA 0xc0010117      /* SVM: host save area address 
*/
 #define        MSR_EXTFEATURES 0xc0011005      /* Extended CPUID Features 
override */
 #define        MSR_IC_CFG      0xc0011021      /* Instruction Cache 
Configuration */
-#define        MSR_K8_UCODE_UPDATE     0xc0010020      /* update microcode */
-#define        MSR_MC0_CTL_MASK        0xc0010044
-#define        MSR_VM_CR               0xc0010114 /* SVM: feature control */
-#define        MSR_VM_HSAVE_PA         0xc0010117 /* SVM: host save area 
address */
 
 /* MSR_VM_CR related */
 #define        VM_CR_SVMDIS            0x10    /* SVM: disabled by BIOS */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to