Module Name:    src
Committed By:   pgoyette
Date:           Mon May  4 08:15:21 UTC 2015

Modified Files:
        src/share/man/man9/man9.x86: tsc.9

Log Message:
Swap function names, so that xxx_bp() refers to the boot processor and
xxx_ap() to the application processor. It doesn't make any sense to
have bp reference the application processor while ap references boot!

XXX The two function are now lexicographically mis-ordered.  If this
XXX is an issue, let me know and I will re-sequence them.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man9/man9.x86/tsc.9

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

Modified files:

Index: src/share/man/man9/man9.x86/tsc.9
diff -u src/share/man/man9/man9.x86/tsc.9:1.5 src/share/man/man9/man9.x86/tsc.9:1.6
--- src/share/man/man9/man9.x86/tsc.9:1.5	Wed Nov 20 18:13:16 2013
+++ src/share/man/man9/man9.x86/tsc.9	Mon May  4 08:15:21 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: tsc.9,v 1.5 2013/11/20 18:13:16 jruoho Exp $
+.\" $NetBSD: tsc.9,v 1.6 2015/05/04 08:15:21 pgoyette Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 20, 2013
+.Dd April 4, 2015
 .Dt TSC 9 x86
 .Os
 .Sh NAME
@@ -93,9 +93,9 @@ function initializes the
 as a
 .Xr timecounter 9 .
 The function is called early in the boot process when the processors attach.
-.It Fn tsc_sync_ap "ci"
+.It Fn tsc_sync_bp "ci"
 The
-.Fn tsc_sync_ap
+.Fn tsc_sync_bp
 function synchronizes the counter for the boot processor
 .Pq Tn BP .
 The supplied
@@ -108,9 +108,9 @@ The
 interface takes internally care of such issues as out-of-order execution,
 where instructions are not necessarily performed in the order of execution,
 possibly causing a misleading cycle count.
-.It Fn tsc_sync_bp "ci"
+.It Fn tsc_sync_ap "ci"
 The
-.Fn tsc_sync_bp
+.Fn tsc_sync_ap
 function synchronize the counter for the application processor
 .Fa ci .
 Interrupts must be off at machine-level when the function is called.

Reply via email to