History log of /src/share/man/man9/bus_space.9
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.55 13-Aug-2022 wiz

Remove Li without effect.


# 1.54 12-Aug-2022 riastradh

bus_space(9): Update barrier semantics to match reality and sense.

As proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2022/07/16/msg028249.html

tl;dr:
- bus_space_barrier is needed only with prefetchable/cacheable.
- BUS_SPACE_BARRIER_READ is like membar_acquire.
- BUS_SPACE_BARRIER_WRITE is like membar_release.
- READ|WRITE is like membar_sync.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.53 13-Nov-2017 wiz

Sort errors. Remove superfluous macros.


# 1.52 12-Nov-2017 riastradh

Replace xref mb(9) by xref membar_ops(3).


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.51 16-Apr-2017 wiz

Merge "userland" to be consistent with other man pages.


Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.50 16-Sep-2016 wiz

branches: 1.50.2;
Use Nm instead of Xr to itself. Add missing space. Bump date for previous.


# 1.49 15-Sep-2016 jdolecek

update manpage with reality WRT BUS_SPACE_BARRIER_SYNC and
BUS_SPACE_BARRIER_X_BEFORE_Y flags


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.48 01-Jun-2016 wiz

branches: 1.48.2;
Fix typo. Use .An -nosplit.


# 1.47 01-Jun-2016 pgoyette

Use .An for authors. From PR misc/49516


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.46 19-Jul-2012 jdf

Added missing newline, as proposed by Petri Laakso in PR kern/46721.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.45 08-Jul-2011 wiz

branches: 1.45.2;
Remove trailing whitespace, use Er for errors, break some lines to avoid
unintended markup.


# 1.44 06-Jul-2011 dyoung

Describe bus_space_tag_create(9) and bus_space_tag_destroy(9) for
implementing bus spaces in MI code.

(This documentation may be several hours ahead of the implementation,
sorry.)


# 1.43 06-Jul-2011 dyoung

Document bus_space_reserve(9), bus_space_reserve_subregion(9),
bus_space_release(9), bus_space_reservation_map(9),
bus_space_reservation_unmap(9), bus_space_reservation_addr(9),
bus_space_reservation_size(9), bus_space_handle_is_equal(9).


# 1.42 01-Jul-2011 dyoung

Bump date.


# 1.41 01-Jul-2011 dyoung

Switch machine/bus.h references to machine/bus_defs.h and
machine/bus_funcs.h references.


Revision tags: cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2 uebayasi-xip-base1
# 1.40 16-Apr-2010 dyoung

branches: 1.40.2;
Describe bus_space_is_equal(9).


# 1.39 05-Apr-2010 dyoung

Change some references to <machine/bus.h> to <sys/bus.h>. MI drivers
should #include <sys/bus.h>. <sys/bus.h> #includes <machine/bus.h> for
the MD implementation details.


# 1.38 22-Mar-2010 joerg

Use .In instead of .Aq Pa for header files.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.37 10-Mar-2009 joerg

Instead of .Xo + .Fo and .Fc / .Xc, just use .Fn. We don't want to
support a troff with macro argument limit. OK wiz.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.36 02-May-2008 martin

branches: 1.36.6;
Move to 2 clause license


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
# 1.35 01-Mar-2008 xtraeme

branches: 1.35.2; 1.35.4;
Fix the mb(9) xref.


Revision tags: matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.34 02-Feb-2007 wiz

branches: 1.34.4; 1.34.8;
Fix Dd argument.


# 1.33 02-Feb-2007 ad

Add manpage for memory barrier ops. Not enabled in the Makefile yet.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
# 1.32 26-Dec-2005 perry

u_intN_t -> uintN_t


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.31 30-Jun-2003 wiz

Pa Aq -> Aq Pa.


# 1.30 16-Apr-2003 wiz

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.


Revision tags: fvdl_fs64_base
# 1.29 01-Jan-2003 jschauma

preceeding -> preceding
Pointed out by Igor Sobrado in PR misc/19636.


# 1.28 14-Oct-2002 wiz

New sentence, new line.


# 1.27 09-Oct-2002 wiz

Move a comma. Closes PR 18600 by Hiten Pandya.


# 1.26 25-Sep-2002 heinz

small typo


# 1.25 25-May-2002 wiz

Remove a superfluous 'no'. kern/17022 by John Heasley.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.24 13-Feb-2002 ross

Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.23 11-Feb-2002 wiz

Whitespace nits, and a paragraph fix.


# 1.22 11-Feb-2002 eeh

New fine-grained BUS_SPACE_SYNC* operations. Since these are completely
machine dependent, port maintainers need to implement them themselves.


# 1.21 26-Dec-2001 wiz

Drop some .Pp, sort sections.


# 1.20 04-Sep-2001 thorpej

Define the bus_space_mmap() method for mmap'ing bus space into
user programs.


Revision tags: kqueue-base
# 1.19 21-Jun-2001 wiz

Fix typos, punctuation and whitespace.


# 1.18 19-Jun-2001 wiz

`existent', not `existant'


# 1.17 27-May-2001 wiz

Fix typos reported in misc/13053 by Patrick Welche.
Whitespace nit cleanup while I'm here.


# 1.16 23-Nov-2000 scw

Document the bus_space_peek_N() and bus_space_poke_N() families
of functions, as proposed on tech-kern.

These provide a way to safely access bus space without crashing
the system if nothing responds on the bus. c.f. `badaddr()'.


# 1.15 09-Aug-2000 tv

Terminate an unterminated .Bl.


# 1.14 03-Aug-2000 briggs

As noted by jhawk--'count' is a function argument when I note that that
functions which take a count of bytes have undefined results if the specified
(count) is zero.


# 1.13 01-Aug-2000 briggs

Add some basic bus_space_*stream_N documentation.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.12 27-May-2000 soren

branches: 1.12.4;
The datap argument to bus_space_write_{multi,region}_* should be const.


# 1.11 17-Apr-2000 drochner

-document the BUS_SPACE_MAP_PREFETCHABLE flag introduced a while ago
-add a missing link: bus_space_vaddr() to get a pointer from a handle;
needed to make the BUS_SPACE_MAP_LINEAR flag useful


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.10 16-Mar-1999 garbled

More .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.9 06-Mar-1999 mycroft

Fix formatting errors (bad sentence breaks).


# 1.8 07-Jul-1998 ross

s/count/flags/ in bus_space_barrier() section.


# 1.7 06-Feb-1998 perry

macroize BSD, NetBSD, FreeBSD and misc cleanup


# 1.6 27-Jan-1998 hubertf

s.SYNOPSIS.DESCRIPTION., fixes PR kern/4898
by NAKAJIMA Yoshihiro <nakayosh@kcn.or.jp>


# 1.5 18-Dec-1997 mikel

fix pasto, from Rafal Boni in PR misc/4673


# 1.4 11-Nov-1997 mrg

add missing .Nm sections


Revision tags: netbsd-1-3-base
# 1.3 14-Aug-1997 cgd

branches: 1.3.2;
clean up the copy_region text slightly


# 1.2 13-Aug-1997 christos

Rename busdma -> bus_dma


# 1.1 13-Aug-1997 cgd

bus_space_*() function manual page. Written by me (as plain text),
converted to use the doc macros by Christos, then severely cleaned,
hacked, and improved by me.