Sun Oct 6 17:14:18 2019 UTC ()
Avoid using .Fn for XC_HIGHPRI_IPL as it looks inconsistent with
.Dv XC_HIGHPRI


(uwe)
diff -r1.13 -r1.14 src/share/man/man9/xcall.9

cvs diff -r1.13 -r1.14 src/share/man/man9/xcall.9 (expand / switch to unified diff)

--- src/share/man/man9/xcall.9 2019/10/06 17:01:15 1.13
+++ src/share/man/man9/xcall.9 2019/10/06 17:14:18 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: xcall.9,v 1.13 2019/10/06 17:01:15 uwe Exp $ 1.\" $NetBSD: xcall.9,v 1.14 2019/10/06 17:14:18 uwe Exp $
2.\" 2.\"
3.\" Copyright (c) 2010 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Andrew Doran. 7.\" by Andrew Doran.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -102,35 +102,33 @@ Call @@ -102,35 +102,33 @@ Call
102.Fa "arg2" 102.Fa "arg2"
103.Fc 103.Fc
104on all CPUs in the system. 104on all CPUs in the system.
105Return a 105Return a
106.Vt uint64_t 106.Vt uint64_t
107.Dq ticket 107.Dq ticket
108to 108to
109.Fn xc_wait 109.Fn xc_wait
110on for the cross-call to complete. 110on for the cross-call to complete.
111.Fa flags 111.Fa flags
112should be 112should be
113.Dv XC_HIGHPRI 113.Dv XC_HIGHPRI
114or 114or
115.Fo XC_HIGHPRI_IPL 115.Dv XC_HIGHPRI_IPL\| Ns Fn "" ipl
116.Fa ipl 
117.Fc 
118for a "high priority" call, and 0 for a "low priority" call. 116for a "high priority" call, and 0 for a "low priority" call.
119.Dv XC_HIGHPRI 117.Dv XC_HIGHPRI
120uses an 118uses an
121.Dv IPL_SOFTSERIAL 119.Dv IPL_SOFTSERIAL
122software interrupt while 120software interrupt while
123.Fn XC_HIGHPRI_IPL 121.Dv XC_HIGHPRI_IPL
124uses a software interrupt with an IPL specified by 122uses a software interrupt with an IPL specified by
125.Fa ipl . 123.Fa ipl .
126.Fn xc_broadcast 124.Fn xc_broadcast
127should not be called from interrupt context. 125should not be called from interrupt context.
128.It Fn xc_unicast "flags" "func" "arg1" "arg2" "ci" 126.It Fn xc_unicast "flags" "func" "arg1" "arg2" "ci"
129Like 127Like
130.Fn xc_broadcast , 128.Fn xc_broadcast ,
131but call 129but call
132.Fa func 130.Fa func
133on only the CPU indicated by 131on only the CPU indicated by
134.Fa ci . 132.Fa ci .
135.Fn xc_unicast 133.Fn xc_unicast
136also returns a 134also returns a