The NetBSD Project

CVS log for src/sys/arch/pmax/pmax/bus_dma.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Tue Jul 26 20:08:56 2022 UTC (19 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, HEAD
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

s/functin/function/ in copy pasted comment.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 22 15:10:32 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jan 22 15:08:11 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

Trailing whitespace

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 5 03:07:16 2021 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

s/invlid/invalid/ in comment.

Revision 1.59.22.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:59 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.59: +14 -9 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync w/ HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Nov 21 16:07:18 2020 UTC (3 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: 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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.59: +14 -9 lines
Diff to previous 1.59 (colored)

malloc(9) -> kmem(9)

Revision 1.56.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:35 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.56.12.1: +10 -9 lines
Diff to previous 1.56.12.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

update from HEAD

Revision 1.57.14.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:48 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.57.14.1: +8 -8 lines
Diff to previous 1.57.14.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Fri May 19 00:22:56 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 18 16:34:56 2017 UTC (6 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, 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-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored)

Fix debug (make it compile)

Revision 1.57.14.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:49 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jun 11 08:22:09 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now.  It won't
be long until we switch to the uvm/pmap one.

Revision 1.56.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:38 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:08 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 2 23:54:54 2012 UTC (11 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

move common/bus_dma/ -> dev/bus_dma/

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 9 17:32:30 2011 UTC (12 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-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, 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
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored)

Cleanu <machine/*> includes

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:23 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.54: +5 -8 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:31 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54: +5 -8 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:57 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.54: +5 -8 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Sun Feb 20 07:50:25 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.54: +5 -8 lines
Diff to previous 1.54 (colored)

Merge forward from matt-nb5-mips64.
New interrupt code.
mips64 support for DS5000/260.

Revision 1.49.16.3 / (download) - annotate - [select for diffs], Fri Dec 24 07:23:42 2010 UTC (13 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.49.16.2: +6 -6 lines
Diff to previous 1.49.16.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Adapt to the new spl/interrupt framework.
Include <mips/locore.h> when needed.

Revision 1.47.44.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:49 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.47.44.4: +7 -5 lines
Diff to previous 1.47.44.4 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head

Revision 1.49.16.2 / (download) - annotate - [select for diffs], Mon Feb 1 06:09:21 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.49.16.1: +6 -7 lines
Diff to previous 1.49.16.1 (colored) to branchpoint 1.49 (colored)

Update to reflect mips tree changes.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:10 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, 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, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.53: +7 -5 lines
Diff to previous 1.53 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.47.44.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:42 2009 UTC (14 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.47.44.3: +17 -130 lines
Diff to previous 1.47.44.3 (colored) to branchpoint 1.47 (colored)

sync with head

Revision 1.49.16.1 / (download) - annotate - [select for diffs], Wed Aug 26 03:46:40 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.49: +7 -5 lines
Diff to previous 1.49 (colored)

Fixup (all but mipsco) to deal the new realities in mipsland.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 21 04:05:20 2009 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211
Changes since 1.52: +17 -130 lines
Diff to previous 1.52 (colored)

Use bus_dmamem_common.

Revision 1.47.44.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:38 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.47.44.2: +38 -35 lines
Diff to previous 1.47.44.2 (colored) to branchpoint 1.47 (colored)

sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 20 17:05:13 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, jymxensuspend-base
Changes since 1.51: +38 -35 lines
Diff to previous 1.51 (colored)

KNF, ANSIfy, and misc cosmetics.

Revision 1.49.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:12 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.49: +19 -83 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.47.44.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:41 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.47.44.1: +22 -86 lines
Diff to previous 1.47.44.1 (colored) to branchpoint 1.47 (colored)

sync with head.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:32 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.49: +19 -83 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:14 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.50: +16 -80 lines
Diff to previous 1.50 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:04 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:37 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.47.42.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:05 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.47.42.1: +5 -5 lines
Diff to previous 1.47.42.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head.

Revision 1.47.40.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:33 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.47.40.1: +3 -3 lines
Diff to previous 1.47.40.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Also fix build.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (15 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, 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-base2, 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-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-mips64, jym-xensuspend
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.47.40.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:31 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.47: +2 -9 lines
Diff to previous 1.47 (colored)

Sync with HEAD.

Revision 1.47.42.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:35 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.47: +2 -9 lines
Diff to previous 1.47 (colored)

sync with head.

Revision 1.47.44.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:59 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.47: +2 -9 lines
Diff to previous 1.47 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:31 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.47: +2 -9 lines
Diff to previous 1.47 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:52 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.42.2.1: +10 -10 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.46.14.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:51 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.46: +10 -10 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:33 2007 UTC (16 years, 11 months ago) by christos
Branch: 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
Changes since 1.46: +10 -10 lines
Diff to previous 1.46 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:22 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +26 -27 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:54:48 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.42: +29 -28 lines
Diff to previous 1.42 (colored)

sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:15 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:09 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:52 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.44: +26 -27 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with head.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:32 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head - hopefully this will work

Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 16 16:39:37 2006 UTC (17 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, 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, 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
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Mising -> Mixing

Revision 1.45 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:11 2006 UTC (18 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.44: +25 -26 lines
Diff to previous 1.44 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Sun Feb 19 00:04:38 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.44.2.1: +1 -1 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

fix a typo.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 14:26:06 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.44: +25 -26 lines
Diff to previous 1.44 (colored)

adapt the rest of MD code.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:39 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

merge ktrace-lwp.

Revision 1.37.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:24 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.37.2.7: +5 -3 lines
Diff to previous 1.37.2.7 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:03 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 24 13:08:34 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored)

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.40.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:19 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.40: +13 -6 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with -current

Revision 1.37.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:04 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.6: +13 -6 lines
Diff to previous 1.37.2.6 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:33 2005 UTC (18 years, 11 months ago) by yamt
Branch: 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
Changes since 1.41: +6 -4 lines
Diff to previous 1.41 (colored)

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.40.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:10 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.40.6.1: +9 -4 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 9 19:04:45 2005 UTC (18 years, 11 months ago) by matt
Branch: 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
Changes since 1.40: +9 -4 lines
Diff to previous 1.40 (colored)

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.37.2.6 / (download) - annotate - [select for diffs], Sat Feb 19 13:18:15 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.5: +3 -3 lines
Diff to previous 1.37.2.5 (colored)

Don't deref a NULL struct lwp *. This shouldn't happen, but...

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Wed Jan 26 11:59:24 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.40: +6 -4 lines
Diff to previous 1.40 (colored)

convert arch/pmax to new apis.

Revision 1.37.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:26 2004 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.4: +4 -2 lines
Diff to previous 1.37.2.4 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:46 2004 UTC (19 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:21 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.3: +3 -3 lines
Diff to previous 1.37.2.3 (colored)

Fix the sync with head I botched.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:38:56 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.2: +5 -5 lines
Diff to previous 1.37.2.2 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Sep 16 03:57:10 2004 UTC (19 years, 5 months ago) by rumble
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Correct a few comment typos that have propagated through the
tree.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:13 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.1: +4 -1 lines
Diff to previous 1.37.2.1 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:40 2003 UTC (20 years, 7 months ago) by lukem
Branch: 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
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored)

__KERNEL_RCSID()

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:29 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

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.37 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:47 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:04 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

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.35 / (download) - annotate - [select for diffs], Wed Apr 2 04:19:50 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.33.12.1 / (download) - annotate - [select for diffs], Mon Jul 15 00:33:05 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

catch up with -current.

Revision 1.33.2.6 / (download) - annotate - [select for diffs], Wed Jul 3 20:21:33 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.33.2.5: +2 -3 lines
Diff to previous 1.33.2.5 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Whitespace.

Revision 1.33.2.5 / (download) - annotate - [select for diffs], Mon Jun 24 22:06:54 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.33.2.4: +2 -2 lines
Diff to previous 1.33.2.4 (colored) to branchpoint 1.33 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:39:12 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.2.2: +1 -2 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

catch up with -current on kqueue branch

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:30 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.33.2.3: +1 -2 lines
Diff to previous 1.33.2.3 (colored) to branchpoint 1.33 (colored)

Catch up to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:38 2002 UTC (21 years, 8 months ago) by drochner
Branch: 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
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

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.30.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:47:52 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.30.2.1: +200 -45 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Sync kqueue branch with -current.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:06 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.33.2.2: +1 -1 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored)

Catch up to -current.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sat Dec 15 07:11:00 2001 UTC (22 years, 2 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.33.2.1: +906 -0 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

lwp'ify

Revision 1.33.2.1, Wed Nov 14 18:15:33 2001 UTC (22 years, 3 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.33: +0 -905 lines
FILE REMOVED

file bus_dma.c was added on branch nathanw_sa on 2001-12-15 07:11:00 +0000

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 14 18:15:33 2001 UTC (22 years, 3 months ago) by thorpej
Branch: 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, ad_pmax_wscons_base, ad_pmax_wscons
Branch point for: nathanw_sa, gehenna-devsw
Changes since 1.32: +199 -45 lines
Diff to previous 1.32 (colored)

Merge the thorpej-mips-cache branch onto the trunk.  This is an
overhaul of how caches are handled for NetBSD's MIPS ports.

Revision 1.32.2.4 / (download) - annotate - [select for diffs], Tue Nov 13 21:29:22 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.32.2.3: +2 -2 lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Fix typo in comment.

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Tue Nov 13 19:49:12 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.32.2.2: +8 -4 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored)

For the virtually-indexed write-back cache dmamap_sync:

Note that we can only use Inv on PREREAD if the buffer
start/end are cacheline-aligned.  If they're not, we
need to use WB_Inv, otherwise we can end up trashing
someone else's data.

XXX For now, simply use WB_Inv for the PREREAD case
always.  I will make some other changes later that
will enable the dmamap_sync routine to easily determine
if it's safe to use Inv.

Many thanks to Michael Hitch for tracking this down.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Mon Nov 12 08:14:10 2001 UTC (22 years, 3 months ago) by nisimura
Branch: thorpej-mips-cache
Changes since 1.32.2.1: +3 -2 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

Pass KSEG0 address to R3000-style cacheops.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed Oct 24 17:40:31 2001 UTC (22 years, 4 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.32: +194 -45 lines
Diff to previous 1.32 (colored)

Update for the new cache code.  There are now two optimized
bus_dmamap_sync routines: one for a physically-indexed write-through
cache, and one for a virtually-indexed write-back cache.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:34 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Catch up with -current.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 28 11:59:52 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

don't depend on other headers to include sys/proc.h for us.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:19 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update the kqueue branch to HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:08 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

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.30 / (download) - annotate - [select for diffs], Sat Jul 7 14:21:01 2001 UTC (22 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

b{cmp,copy,zero} -> mem{cmp,cpy,set}
Also remove some unnecessary argument casts.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:31:55 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.26.2.1: +4 -3 lines
Diff to previous 1.26.2.1 (colored) next main 1.27 (colored)

Catch up to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 26 21:27:12 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:07 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

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.26.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:31 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Catch up with -current.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:21 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16.2.1: +2 -2 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 21 18:40:31 2001 UTC (22 years, 11 months ago) by soren
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:20:33 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16: +20 -24 lines
Diff to previous 1.16 (colored)

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.20.4.3 / (download) - annotate - [select for diffs], Mon Nov 13 19:14:51 2000 UTC (23 years, 3 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.20.4.2: +7 -2 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pullup 1.25 and 1.26 [tsutsui]:
Add some #ifdef MIPS3's to allow compiling a MIPS1 only configuration.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 4 02:02:05 2000 UTC (23 years, 4 months ago) by nisimura
Branch: MAIN
Changes since 1.25: +22 -14 lines
Diff to previous 1.25 (colored)

Redo the previous change to save MIPS1 only configuration.  It's
uncertain whether a multiple page flush with a single HitFlush()
call is safe.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 2 22:56:51 2000 UTC (23 years, 4 months ago) by nisimura
Branch: MAIN
Changes since 1.24: +15 -18 lines
Diff to previous 1.24 (colored)

- Hide MachHitFlushDCache() symbol by enclosing #ifdef MIPS3 to make
compilable with MIPS1 only configuration.
- MIPS3 virtually addressed cache op can do its work in a single call for
range of address space.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Sat Sep 30 01:46:48 2000 UTC (23 years, 5 months ago) by mhitch
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.20.4.1: +2 -2 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

Pull up rev 1.24 [approved by thorpej].

Need to use MachHitFlushDCache() for the MIPS3 to ensure invalidating
both the primary and the secondary caches.  MachFlushDCache() will not
invalidate the correct secondary cache lines for KSEG2 addresses.
R4000 systems should now be able to boot and run.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 28 03:19:12 2000 UTC (23 years, 5 months ago) by mhitch
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Need to use MachHitFlushDCache() for the MIPS3 to ensure invalidating
both the primary and the secondary caches.  MachFlushDCache() will not
invalidate the correct secondary cache lines for KSEG2 addresses.
R4000 systems should now be able to boot and run.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:34 2000 UTC (23 years, 8 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 29 07:51:08 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:54 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

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.21 / (download) - annotate - [select for diffs], Mon Jun 26 04:55:56 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

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.20 / (download) - annotate - [select for diffs], Mon Jan 10 03:24:36 2000 UTC (24 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.19: +1 -10 lines
Diff to previous 1.19 (colored)

Remove unneeded include files (up to 16 in two files!).

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 9 03:55:54 2000 UTC (24 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 (colored)

The clean-up continues:
 - Make local-only function and variables static.
 - Move function prototypes and extern variable declarations to
   header files.
 - Delete unused variables.
There's still a handful of extern declaraions that should be fixed up.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 8 01:02:38 2000 UTC (24 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Function prototype cleanup.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:27 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up to last week's -current.

Revision 1.9.2.7 / (download) - annotate - [select for diffs], Fri Nov 19 11:06:26 1999 UTC (24 years, 3 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.9.2.6: +3 -3 lines
Diff to previous 1.9.2.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Merge w/ recent changes in main trunk.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:01 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with -current

Revision 1.17 / (download) - annotate - [select for diffs], Sat Nov 13 00:30:43 1999 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Tue Oct 26 06:19:08 1999 UTC (24 years, 4 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.9.2.5: +1 -3 lines
Diff to previous 1.9.2.5 (colored) to branchpoint 1.9 (colored)

Sync. w/ main trunk.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:17 1999 UTC (24 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Mon Aug 9 12:53:53 1999 UTC (24 years, 6 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.9.2.4: +3 -3 lines
Diff to previous 1.9.2.4 (colored) to branchpoint 1.9 (colored)

sync to head rev. 1.15 (pmap_extract() interface change)

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 20:06:05 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.13.4.1: +3 -3 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Update from trunk.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 8 18:08:57 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

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.13.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:58:59 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored)

Sync w/ -current.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Fri Jun 11 00:53:34 1999 UTC (24 years, 8 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.9.2.3: +9 -11 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored)

- Track main trunk changes and cleanup accumulated bozos I made so far.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 25 23:14:06 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored)

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.9.2.3 / (download) - annotate - [select for diffs], Mon Mar 29 16:41:11 1999 UTC (24 years, 11 months ago) by drochner
Branch: nisimura-pmax-wscons
Changes since 1.9.2.2: +3 -22 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

sync with trunk revs 1.11 (UVM removal) and 1.13 (pmap_enter arg change)

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:34 1999 UTC (24 years, 11 months ago) by mycroft
Branch: 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
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

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.12 / (download) - annotate - [select for diffs], Thu Mar 25 01:17:51 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Remove trailing whitespace.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:09 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.10: +2 -21 lines
Diff to previous 1.10 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 6 04:18:53 1999 UTC (25 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.9: +14 -14 lines
Diff to previous 1.9 (colored)

- Complete vm_offset_t purge for DECstation.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Nov 16 10:34:48 1998 UTC (25 years, 3 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.9.2.1: +14 -13 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

- Replace vm_offset_t with vaddr_t/paddr_t.
Note that NetBSD/newsmips has purged vm_offset_t too.  Main trunk mips/
and pmax/ directories is left untouched.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Oct 15 02:16:28 1998 UTC (25 years, 4 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

- Reflect new internals.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 21 23:02:49 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: nisimura-pmax-wscons-base, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: nisimura-pmax-wscons
Changes since 1.8: +3 -14 lines
Diff to previous 1.8 (colored)

Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 17 21:10:01 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.7: +57 -2 lines
Diff to previous 1.7 (colored)

Implement bus_dmamap_load_uio().

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 3 05:10:23 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +43 -52 lines
Diff to previous 1.6 (colored)

Adjust bus_dmamap_sync() for the R4000; in that case, use the stashed
virtual address for the segment, rather than the physical address, and
adjust the cache call appropriately.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 3 04:41:30 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Fill in the virtual address of each DMA segment as we load the map.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 3 04:33:28 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +20 -11 lines
Diff to previous 1.4 (colored)

Sync w/ i386 port.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 27 03:57:49 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +9 -8 lines
Diff to previous 1.3 (colored)

Ouch, key debugging printfs off BUS_DMA_DEBUG, not DEBUG ... noisy!

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 27 01:16:47 1998 UTC (25 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.2: +18 -5 lines
Diff to previous 1.2 (colored)

A few fixes to make it really work.

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 26 18:21:10 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +67 -14 lines
Diff to previous 1.1 (colored)

Rewrite at least the R{2,3}000 case for bus_dmamap_sync(), in hopes of
making performance of bus_dma drivers not completely suck on the DECstation.

XXX R4000 case is still abysmal, because some other data structure
modification is required to deal with the virtually-indexed R4000 cache.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 22 21:14:04 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN

Complete from-scratch rewrite of the DECstation bus.h, brining it
up-to-date with the current API, and implementing preliminary
support for bus_dma.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>