Module Name:    src
Committed By:   jruoho
Date:           Fri Oct 28 07:23:18 UTC 2011

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/share/man/man9/man9.x86: Makefile rdmsr.9

Log Message:
Note briefly what MSRs are. Requested by wiz@.


To generate a diff of this commit:
cvs rdiff -u -r1.1698 -r1.1699 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.5 -r1.6 src/share/man/man9/man9.x86/Makefile
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/man9.x86/rdmsr.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1698 src/distrib/sets/lists/comp/mi:1.1699
--- src/distrib/sets/lists/comp/mi:1.1698	Tue Oct 25 05:41:33 2011
+++ src/distrib/sets/lists/comp/mi	Fri Oct 28 07:23:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1698 2011/10/25 05:41:33 jruoho Exp $
+#	$NetBSD: mi,v 1.1699 2011/10/28 07:23:16 jruoho Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -10854,6 +10854,7 @@
 ./usr/share/man/cat9/wsmouse.0			comp-sys-catman		.cat
 ./usr/share/man/cat9/wsmouse_input.0		comp-sys-catman		.cat
 ./usr/share/man/cat9/wsmousedevprint.0		comp-sys-catman		.cat
+./usr/share/man/cat9/x86/msr.0			comp-sys-catman		.cat
 ./usr/share/man/cat9/x86/nmi.0			comp-sys-catman		.cat
 ./usr/share/man/cat9/x86/nmi_disestablish.0	comp-sys-catman		.cat
 ./usr/share/man/cat9/x86/nmi_establish.0	comp-sys-catman		.cat
@@ -16903,6 +16904,7 @@
 ./usr/share/man/html9/wsmouse.html		comp-sys-htmlman	html
 ./usr/share/man/html9/wsmouse_input.html	comp-sys-htmlman	html
 ./usr/share/man/html9/wsmousedevprint.html	comp-sys-htmlman	html
+./usr/share/man/html9/x86/msr.html		comp-sys-htmlman	html
 ./usr/share/man/html9/x86/nmi.html		comp-sys-htmlman	html
 ./usr/share/man/html9/x86/nmi_disestablish.html	comp-sys-htmlman	html
 ./usr/share/man/html9/x86/nmi_establish.html	comp-sys-htmlman	html
@@ -23209,6 +23211,7 @@
 ./usr/share/man/man9/wsmouse.9			comp-sys-man		.man
 ./usr/share/man/man9/wsmouse_input.9		comp-sys-man		.man
 ./usr/share/man/man9/wsmousedevprint.9		comp-sys-man		.man
+./usr/share/man/man9/x86/msr.9			comp-sys-man		.man
 ./usr/share/man/man9/x86/nmi.9			comp-sys-man		.man
 ./usr/share/man/man9/x86/nmi_disestablish.9	comp-sys-man		.man
 ./usr/share/man/man9/x86/nmi_establish.9	comp-sys-man		.man

Index: src/share/man/man9/man9.x86/Makefile
diff -u src/share/man/man9/man9.x86/Makefile:1.5 src/share/man/man9/man9.x86/Makefile:1.6
--- src/share/man/man9/man9.x86/Makefile:1.5	Tue Oct 25 05:41:35 2011
+++ src/share/man/man9/man9.x86/Makefile	Fri Oct 28 07:23:18 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2011/10/25 05:41:35 jruoho Exp $
+#	$NetBSD: Makefile,v 1.6 2011/10/28 07:23:18 jruoho Exp $
 
 MAN=	nmi.9 rdmsr.9 tsc.9 x86_msr_xcall.9
 
@@ -7,7 +7,8 @@ MANSUBDIR=/x86
 MLINKS+=nmi.9 nmi_establish.9 \
 	nmi.9 nmi_disestablish.9
 
-MLINKS+=rdmsr.9 rdmsr_safe.9 \
+MLINKS+=rdmsr.9 msr.9 \
+	rdmsr.9 rdmsr_safe.9 \
 	rdmsr.9 wrmsr.9
 
 MLINKS+=tsc.9 rdtsc.9 \

Index: src/share/man/man9/man9.x86/rdmsr.9
diff -u src/share/man/man9/man9.x86/rdmsr.9:1.2 src/share/man/man9/man9.x86/rdmsr.9:1.3
--- src/share/man/man9/man9.x86/rdmsr.9:1.2	Tue Oct 25 05:41:35 2011
+++ src/share/man/man9/man9.x86/rdmsr.9	Fri Oct 28 07:23:18 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: rdmsr.9,v 1.2 2011/10/25 05:41:35 jruoho Exp $
+.\" $NetBSD: rdmsr.9,v 1.3 2011/10/28 07:23:18 jruoho Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,14 +27,15 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 25, 2011
+.Dd October 28, 2011
 .Dt RDMSR 9 x86
 .Os
 .Sh NAME
+.Nm msr ,
 .Nm rdmsr ,
 .Nm rdmsr_safe ,
 .Nm wrmsr
-.Nd functions for x86 model-specific registers
+.Nd functions for x86 MSRs
 .Sh SYNOPSIS
 .In x86/cpufunc.h
 .Ft uint64_t
@@ -65,6 +66,11 @@ and
 .Fn wrmsr
 functions are used to access
 .Dv MSRs .
+The header
+.In x86/specialreg.h
+includes definitions for some of the commonly used MSRs,
+that is, control registers that are present
+in some x86 processor models but unavailable in others.
 .Sh FUNCTIONS
 .Bl -tag -width abcd
 .It Fn rdmsr "msr"

Reply via email to