Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9/man9.x86 Swap function names, so that xxx_bp(...
details: https://anonhg.NetBSD.org/src/rev/cae3add08c91
branches: trunk
changeset: 808092:cae3add08c91
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon May 04 08:15:21 2015 +0000
description:
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.
diffstat:
share/man/man9/man9.x86/tsc.9 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 05594315891b -r cae3add08c91 share/man/man9/man9.x86/tsc.9
--- a/share/man/man9/man9.x86/tsc.9 Mon May 04 08:07:02 2015 +0000
+++ b/share/man/man9/man9.x86/tsc.9 Mon May 04 08:15:21 2015 +0000
@@ -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 @@
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 @@
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.
Home |
Main Index |
Thread Index |
Old Index