| @@ -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 |
104 | on all CPUs in the system. | | 104 | on all CPUs in the system. |
105 | Return a | | 105 | Return a |
106 | .Vt uint64_t | | 106 | .Vt uint64_t |
107 | .Dq ticket | | 107 | .Dq ticket |
108 | to | | 108 | to |
109 | .Fn xc_wait | | 109 | .Fn xc_wait |
110 | on for the cross-call to complete. | | 110 | on for the cross-call to complete. |
111 | .Fa flags | | 111 | .Fa flags |
112 | should be | | 112 | should be |
113 | .Dv XC_HIGHPRI | | 113 | .Dv XC_HIGHPRI |
114 | or | | 114 | or |
115 | .Fo XC_HIGHPRI_IPL | | 115 | .Dv XC_HIGHPRI_IPL\| Ns Fn "" ipl |
116 | .Fa ipl | | | |
117 | .Fc | | | |
118 | for a "high priority" call, and 0 for a "low priority" call. | | 116 | for a "high priority" call, and 0 for a "low priority" call. |
119 | .Dv XC_HIGHPRI | | 117 | .Dv XC_HIGHPRI |
120 | uses an | | 118 | uses an |
121 | .Dv IPL_SOFTSERIAL | | 119 | .Dv IPL_SOFTSERIAL |
122 | software interrupt while | | 120 | software interrupt while |
123 | .Fn XC_HIGHPRI_IPL | | 121 | .Dv XC_HIGHPRI_IPL |
124 | uses a software interrupt with an IPL specified by | | 122 | uses a software interrupt with an IPL specified by |
125 | .Fa ipl . | | 123 | .Fa ipl . |
126 | .Fn xc_broadcast | | 124 | .Fn xc_broadcast |
127 | should not be called from interrupt context. | | 125 | should 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" |
129 | Like | | 127 | Like |
130 | .Fn xc_broadcast , | | 128 | .Fn xc_broadcast , |
131 | but call | | 129 | but call |
132 | .Fa func | | 130 | .Fa func |
133 | on only the CPU indicated by | | 131 | on only the CPU indicated by |
134 | .Fa ci . | | 132 | .Fa ci . |
135 | .Fn xc_unicast | | 133 | .Fn xc_unicast |
136 | also returns a | | 134 | also returns a |