The NetBSD Project

CVS log for src/sys/arch/x68k/x68k/bus.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x68k / x68k

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jan 7 07:58:35 2024 UTC (12 months, 1 week ago) by isaki
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4 lines
TAB/space/indent cleanup.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jul 26 20:08:56 2022 UTC (2 years, 5 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-1-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
s/functin/function/ in copy pasted comment.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 24 19:55:09 2022 UTC (2 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
s/entrace/entrance/ in copy pasted comment.

Revision 1.35.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:50 2012 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:32 2012 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -3 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Oct 2 23:54:54 2012 UTC (12 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, 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, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
move common/bus_dma/ -> dev/bus_dma/

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:29 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +4 -2 lines
Sync with HEAD.

Revision 1.31.44.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:54 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.44.3: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.44.3: +4 -2 lines
sync with head.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:29 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +4 -2 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Jun 6 04:50:08 2010 UTC (14 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2 lines
fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

Revision 1.31.44.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:43 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.44.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.44.2: +17 -125 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Aug 21 04:12:27 2009 UTC (15 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -125 lines
Use bus_dmamem_common.

Revision 1.31.44.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:09 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.44.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.44.1: +5 -5 lines
sync with head.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:48 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +5 -5 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.31.42.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:20 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31.42.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.42.1: +5 -5 lines
sync with head.

Revision 1.31.40.2: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:34 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31.40.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.40.1: +3 -3 lines
Sync with HEAD.

Also fix build.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jun 4 12:41:41 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -5 lines
vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.31.40.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:49 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9 lines
Sync with HEAD.

Revision 1.31.42.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:01 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9 lines
sync with head.

Revision 1.31.44.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:27 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9 lines
sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:40 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:15 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.1: +8 -8 lines
sync with head.

Revision 1.29.26.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:51:43 2007 UTC (17 years, 10 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +8 -8 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Mar 5 20:39:43 2007 UTC (17 years, 10 months ago) by he
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Cast to char* before doing pointer arithmetic.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:07 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -8 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:57:55 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -4 lines
sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:45 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
merge ktrace-lwp.

Revision 1.22.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:38 2005 UTC (19 years, 1 month ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.22.2.8: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.8: +5 -3 lines
Sync with head.

Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:04 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +5 -3 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Nov 24 13:08:34 2005 UTC (19 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3, ktrace-lwp-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -3 lines
bus_dmamem_map: honour BUS_DMA_NOWAIT.  noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:28 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +45 -110 lines
sync with -current

Revision 1.22.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:28:58 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.7: preferred, colored
Changes since revision 1.22.2.7: +13 -6 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:36 2005 UTC (19 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-readahead, yamt-lazymbuf
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -4 lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:21 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.1: +9 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 9 19:04:46 2005 UTC (19 years, 10 months ago) by matt
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -4 lines
Add a dm_maxsegsz public member to bus_dmamap_t.  This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.

Revision 1.22.2.7: download - view: text, markup, annotated - select for diffs
Sat Feb 19 13:18:15 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.6: preferred, colored
Changes since revision 1.22.2.6: +3 -3 lines
Don't deref a NULL struct lwp *. This shouldn't happen, but...

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 26 12:14:39 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -4 lines
convert arch/x68k to new apis.

Revision 1.22.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:18 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.5: preferred, colored
Changes since revision 1.22.2.5: +34 -106 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 18 07:12:16 2005 UTC (20 years ago) by chs
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +34 -106 lines
de-__P, remove register, ansify.

Revision 1.22.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:45 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.4: preferred, colored
Changes since revision 1.22.2.4: +4 -2 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Nov 28 17:34:46 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -2 lines
bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811

Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:24:21 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.3: preferred, colored
Changes since revision 1.22.2.3: +3 -3 lines
Fix the sync with head I botched.

Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:42:37 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.2: preferred, colored
Changes since revision 1.22.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:42:57 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +4 -1 lines
Sync with HEAD

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jul 15 01:44:56 2003 UTC (21 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-2-base, 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-1, netbsd-2-0-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
rcsid

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:36 2003 UTC (21 years, 6 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:08 2003 UTC (21 years, 6 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:13 2003 UTC (21 years, 6 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Apr 1 15:14:20 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 01:41:07 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +1 -2 lines
catch up with -current.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:43:24 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +1 -2 lines
catch up with -current on kqueue branch

Revision 1.17.4.3: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:42:37 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.4.2: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.2: +1 -2 lines
Catch up to -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jun 2 14:44:40 2002 UTC (22 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2 lines
move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:50:44 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +100 -3 lines
Sync kqueue branch with -current.

Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:28:53 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.1: +752 -0 lines
Catch up to -current.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Dec 19 14:53:26 2001 UTC (23 years, 1 month ago) by minoura
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +99 -3 lines
Implement bus_dmamap_sync properly.
dma_cachectl is now used only for DMAC array chain.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:12 2001 UTC (23 years, 3 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -2 lines
Catch up with -current.

Revision 1.17.4.1
Fri Sep 28 12:36:50 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.17: +0 -656 lines
file bus.c was added on branch nathanw_sa on 2002-01-08 00:28:53 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Sep 28 12:36:50 2001 UTC (23 years, 3 months ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: nathanw_sa
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
don't depend on other headers to include sys/proc.h for us.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:12 2001 UTC (23 years, 4 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Update the kqueue branch to HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:30 2001 UTC (23 years, 4 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:58:40 2001 UTC (23 years, 7 months ago) by nathanw
Diff to: previous 1.12.2.1: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +4 -3 lines
Catch up to -current.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat May 26 21:27:18 2001 UTC (23 years, 8 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
replace vm_page_t with struct vm_page *.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:16 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:24 2001 UTC (23 years, 9 months ago) by nathanw
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Catch up with -current.

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:44 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 21 18:40:32 2001 UTC (23 years, 10 months ago) by soren
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:29:49 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +6 -9 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 21 12:39:17 2001 UTC (23 years, 11 months ago) by minoura
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
Use m68k_page_offset and m68k_trunc_page macros,
instead of using PGOFSET directly.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Feb 21 05:53:35 2001 UTC (23 years, 11 months ago) by minoura
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -4 lines
Remove some redundant decls.
Fix some nested decls.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:30:22 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -8 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 30 16:27:45 2000 UTC (24 years, 6 months ago) by simonb
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -3 lines
Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 29 07:07:54 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:07 2000 UTC (24 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2 lines
remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jun 26 04:56:16 2000 UTC (24 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -3 lines
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:19 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
Pull up to last week's -current.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:39:58 1999 UTC (25 years, 2 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
Sync with -current

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:32:20 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Update for pmap_enter() API change.  No functional difference.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:49:44 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +2 -2 lines
Update from trunk.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 8 18:11:02 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:04:14 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Sync w/ -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 25 23:14:09 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:38 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:17 1999 UTC (25 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -22 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Mar 16 16:30:23 1999 UTC (25 years, 10 months ago) by minoura
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +677 -0 lines
Merged minoura_x68k_bus_h branch.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Sun Mar 14 12:27:18 1999 UTC (25 years, 10 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.1.2.4: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.4: +1 -385 lines
Use a single (inline) function instead of refering the bus_space switch.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Feb 13 17:51:43 1999 UTC (25 years, 11 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +67 -22 lines
Implemented BUS_SPACE_MAP_SHIFTED.
Some of the devices are mapped only on the odd addresses for hardware
simplicity.  To share drivers with other platforms, this should be
made transparent through the bus_space layer.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 2 23:46:05 1999 UTC (25 years, 11 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +2 -1 lines
Typo.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 30 15:07:41 1999 UTC (25 years, 11 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +61 -11 lines
Added DMAC driver.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 23 16:47:34 1998 UTC (26 years, 1 month ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +965 -0 lines
First import of bus_space implementation for x68k port.

Revision 1.1
Wed Dec 23 16:47:34 1998 UTC (26 years, 1 month ago) by minoura
Branches: MAIN
Branch point for: minoura_x68k_bus_h
FILE REMOVED
file bus.c was initially added on branch minoura_x68k_bus_h.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>