| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: bus_space.9,v 1.54 2022/08/12 13:24:37 riastradh Exp $ | | 1 | .\" $NetBSD: bus_space.9,v 1.55 2022/08/13 17:06:55 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1997 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1997 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 Christopher G. Demetriou. | | 7 | .\" by Christopher G. Demetriou. |
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 |
| @@ -1359,27 +1359,27 @@ may not. | | | @@ -1359,27 +1359,27 @@ may not. |
1359 | Guarantee that any program-prior bus space read, bus space write, or | | 1359 | Guarantee that any program-prior bus space read, bus space write, or |
1360 | memory access via | | 1360 | memory access via |
1361 | .Fn bus_space_vaddr , | | 1361 | .Fn bus_space_vaddr , |
1362 | on the specified range in the given bus space, has completed before any | | 1362 | on the specified range in the given bus space, has completed before any |
1363 | program-later bus space write on | | 1363 | program-later bus space write on |
1364 | .Em any | | 1364 | .Em any |
1365 | bus space. | | 1365 | bus space. |
1366 | .Pp | | 1366 | .Pp |
1367 | This functions similarly to | | 1367 | This functions similarly to |
1368 | .Xr membar_release 3 , | | 1368 | .Xr membar_release 3 , |
1369 | but additionally orders bus space I/O which | | 1369 | but additionally orders bus space I/O which |
1370 | .Xr membar_ops 3 | | 1370 | .Xr membar_ops 3 |
1371 | may not. | | 1371 | may not. |
1372 | .It Dv "BUS_SPACE_BARRIER_READ" Li "|" Dv "BUS_SPACE_BARRIER_WRITE" | | 1372 | .It Dv "BUS_SPACE_BARRIER_READ" | Dv "BUS_SPACE_BARRIER_WRITE" |
1373 | Guarantee that any program-prior bus space read, bus space write, or | | 1373 | Guarantee that any program-prior bus space read, bus space write, or |
1374 | memory access via | | 1374 | memory access via |
1375 | .Fn bus_space_vaddr | | 1375 | .Fn bus_space_vaddr |
1376 | on | | 1376 | on |
1377 | .Em any | | 1377 | .Em any |
1378 | bus space has completed before any program-later bus space read, bus | | 1378 | bus space has completed before any program-later bus space read, bus |
1379 | space write, or memory access via | | 1379 | space write, or memory access via |
1380 | .Fn bus_space_vaddr | | 1380 | .Fn bus_space_vaddr |
1381 | on | | 1381 | on |
1382 | .Em any | | 1382 | .Em any |
1383 | bus space. | | 1383 | bus space. |
1384 | .Pp | | 1384 | .Pp |
1385 | Note that this is independent of the specified bus space and range. | | 1385 | Note that this is independent of the specified bus space and range. |