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.
This commit is contained in:
parent
0c6040f523
commit
a0820f0ebc
@ -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.
|
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
@ -27,7 +27,7 @@
|
|||||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd November 20, 2013
|
.Dd April 4, 2015
|
||||||
.Dt TSC 9 x86
|
.Dt TSC 9 x86
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -93,9 +93,9 @@ function initializes the
|
|||||||
as a
|
as a
|
||||||
.Xr timecounter 9 .
|
.Xr timecounter 9 .
|
||||||
The function is called early in the boot process when the processors attach.
|
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
|
The
|
||||||
.Fn tsc_sync_ap
|
.Fn tsc_sync_bp
|
||||||
function synchronizes the counter for the boot processor
|
function synchronizes the counter for the boot processor
|
||||||
.Pq Tn BP .
|
.Pq Tn BP .
|
||||||
The supplied
|
The supplied
|
||||||
@ -108,9 +108,9 @@ The
|
|||||||
interface takes internally care of such issues as out-of-order execution,
|
interface takes internally care of such issues as out-of-order execution,
|
||||||
where instructions are not necessarily performed in the order of execution,
|
where instructions are not necessarily performed in the order of execution,
|
||||||
possibly causing a misleading cycle count.
|
possibly causing a misleading cycle count.
|
||||||
.It Fn tsc_sync_bp "ci"
|
.It Fn tsc_sync_ap "ci"
|
||||||
The
|
The
|
||||||
.Fn tsc_sync_bp
|
.Fn tsc_sync_ap
|
||||||
function synchronize the counter for the application processor
|
function synchronize the counter for the application processor
|
||||||
.Fa ci .
|
.Fa ci .
|
||||||
Interrupts must be off at machine-level when the function is called.
|
Interrupts must be off at machine-level when the function is called.
|
||||||
|
Loading…
Reference in New Issue
Block a user