The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Tue Jul 26 20:08:56 2022 UTC (6 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

s/functin/function/ in copy pasted comment.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 16 23:49:27 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.53: +10 -10 lines
Diff to previous 1.53 (colored)

powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose.  `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Feb 16 23:30:52 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.52: +90 -4 lines
Diff to previous 1.52 (colored)

powerpc: Implement bus_dmamap_load_raw.

Can probably delete some of the round-trips between bus addresses and
physical addresses -- did these only to copy the logic already in
_bus_dmamap_load_buffer.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 6 10:31:24 2020 UTC (2 years, 6 months ago) by rin
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-futex, 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.51: +6 -2 lines
Diff to previous 1.51 (colored)

Include missing opt_ppcarch.h.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 6 09:34:18 2020 UTC (2 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:50 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.48.2.1: +7 -3 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Merge changes from current as of 20200406

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:30 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Feb 25 20:22:14 2020 UTC (2 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Pull up following revision(s) (requested by rin in ticket #730):

	sys/arch/powerpc/conf/files.powerpc: revision 1.93
	sys/arch/powerpc/include/pio.h: revision 1.8
	sys/arch/powerpc/pic/intr.c: revision 1.27
	sys/arch/powerpc/powerpc/bus_dma.c: revision 1.50
	sys/arch/powerpc/powerpc/pio_subr.S: revision 1.17

Add PPC_IBM440 flag as 440 is significantly different from 40x processors.
(It may be more easily supported by booke than by ibm4xx.)

 -

eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 20 05:10:02 2020 UTC (2 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (colored)

eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:39 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.47.14.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:39 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.47.14.1: +3 -3 lines
Diff to previous 1.47.14.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.49 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:26 2018 UTC (4 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.47.14.1 / (download) - annotate - [select for diffs], Wed May 2 07:20:05 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Synch with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Fri Apr 27 07:53:07 2018 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

M_CLUSTER -> M_EXT_CLUSTER

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:38 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46: +11 -8 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

update from HEAD

Revision 1.46.24.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:19 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.46: +11 -8 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD

Revision 1.46.28.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:24 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.46: +11 -8 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 23 07:15:28 2016 UTC (6 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.46: +11 -8 lines
Diff to previous 1.46 (colored)

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:48 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.44: +20 -18 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:59 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.44: +20 -18 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

merge to -current.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Feb 1 09:54:03 2012 UTC (11 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, 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, 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, localcount-20160914, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Changes since 1.45: +9 -8 lines
Diff to previous 1.45 (colored)

Use kmem instead of malloc.  Remove unneeded <sys/malloc.h> includes.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 30 23:34:15 2012 UTC (11 years ago) by matt
Branch: MAIN
Changes since 1.44: +13 -12 lines
Diff to previous 1.44 (colored)

Use ANSI prototype for _bus_dmamem_alloc_range.
Caught when compiling with -Wold-style-definition

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 19 19:55:23 2011 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Fix missed change of BUS_DMA_NOCACHE to BUS_DMA_DONTCACHE.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 17 23:23:54 2011 UTC (11 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Enable new-style <sys/bus.h> on several PowerPC ports supporting PCI
buses.  Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.

This may leave amigappc in a bad state, sorry.  Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 30 00:53:00 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:34 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.38: +28 -14 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 18 06:41:44 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.40: +4 -5 lines
Diff to previous 1.40 (colored)

Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>.  Include it
explicitly.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 13 21:19:38 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

Use ptoa(x) instead of x << PGSHIFT

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:05 2011 UTC (11 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.35.4.1: +20 -5 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 8 15:19:57 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.38: +22 -7 lines
Diff to previous 1.38 (colored)

A small speedup, when mapping memory in bus_dmamem_map, if the memory is
cacheable and is in a single segment (physically contiguous) don't bother
allocating KVA for it, just use the physical address as the VA.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:30 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.37: +29 -14 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:40 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.35: +30 -15 lines
Diff to previous 1.35 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:55 2011 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.37: +29 -14 lines
Diff to previous 1.37 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.33.20.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:00:21 2011 UTC (12 years ago) by matt
Branch: matt-nb5-pq3
Changes since 1.33: +28 -13 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Add booke support.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 10 09:27:24 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Use more VM_PHYSMEM_*() accessors.  No functional changes.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Nov 6 11:46:01 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base5
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Machine dependent code is considered as part of UVM.  Include
internal API header.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Thu May 27 14:47:29 2010 UTC (12 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.35.2.1: +1 -1 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Fix build.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Apr 28 08:31:07 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.

Revision 1.31.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:51 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.2: +3 -3 lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:46 2009 UTC (13 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.33.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:15 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.33: +18 -90 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

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

Revision 1.31.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:44 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.1: +21 -93 lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:35 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.33: +18 -90 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:14 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, 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, jymxensuspend-base
Changes since 1.33: +18 -90 lines
Diff to previous 1.33 (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.32.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:38 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

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

Revision 1.31.8.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:05 2008 UTC (14 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.31.8.1: +5 -5 lines
Diff to previous 1.31.8.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.31.6.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:34 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31.6.1: +3 -3 lines
Diff to previous 1.31.6.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Also fix build.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (14 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-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, 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-pq3, jym-xensuspend
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

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

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

Sync with HEAD.

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

sync with head.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:02 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31: +2 -9 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:32 2008 UTC (14 years, 9 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.31: +2 -9 lines
Diff to previous 1.31 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.30.20.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:18 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with HEAD

Revision 1.30.26.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:58 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:24 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.3: +5 -5 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 29 23:46:21 2008 UTC (15 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

initialise "paddr_t lastaddr" to 0 in the cases it is not otherwise
set.  previously, if the stack garbage happened to match the
"curaddr" in _bus_dmamap_load_buffer(), the wrong thing may have
happened.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:01 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.2: +7 -7 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:07 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:37 2007 UTC (15 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-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-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-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
Branch point for: mjf-devfs, matt-armv6
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

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

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:44 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.1: +4 -4 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:31 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:29 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 27 19:36:15 2006 UTC (16 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Change an instance of curaddr to PHYS_TO_BUS_MEM(t, curaddr) in
_bus_dmamap_load_buffer, otherwise when attempting to DMA a buffer larger
than PAGE_SIZE on an arch where PHYS != BUS it will allways fail.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:16 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26.2.1: +3 -3 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:34 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +18 -20 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Thu Sep 7 19:13:11 2006 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Apply the patch found in PR/28512 and PR/23801. Ok'd by a few people.
From the PR:
The cache is flushed using the bus address where the phys address
is required.  Errors would be seen only on ports where address
translation is done between the bus and physical memory.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:11 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22: +29 -29 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:53 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.25: +17 -19 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:33 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head - hopefully this will work

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:06:59 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Mar 12 22:44:27 2006 UTC (16 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

fix mistakes in yamt-uio_vmspace changes.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:12 2006 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.25: +17 -19 lines
Diff to previous 1.25 (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.25.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 14:26:06 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.25: +17 -19 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

adapt the rest of MD code.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:28 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.24: +11 -11 lines
Diff to previous 1.24 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:46 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.15.2.9 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:25 2005 UTC (17 years, 1 month ago) by christos
Branch: ktrace-lwp
Changes since 1.15.2.8: +5 -3 lines
Diff to previous 1.15.2.8 (colored) next main 1.16 (colored)

Sync with head.

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

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 24 13:08:34 2005 UTC (17 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (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.20.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:20 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.20: +13 -7 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with -current

Revision 1.15.2.8 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:04 2005 UTC (17 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.15.2.7: +13 -7 lines
Diff to previous 1.15.2.7 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:34 2005 UTC (17 years, 10 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.21: +5 -4 lines
Diff to previous 1.21 (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.20.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:12 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.20.6.1: +10 -5 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 9 19:04:45 2005 UTC (17 years, 10 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.20: +10 -5 lines
Diff to previous 1.20 (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.15.2.7 / (download) - annotate - [select for diffs], Sat Feb 19 13:18:15 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.15.2.6: +3 -3 lines
Diff to previous 1.15.2.6 (colored)

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

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Fri Jan 28 13:40:26 2005 UTC (18 years ago) by yamt
Branch: yamt-km
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

- don't leave page mapping at kva which is being freed.
- convert to new apis.

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

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:46 2004 UTC (18 years, 2 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.19: +4 -2 lines
Diff to previous 1.19 (colored)

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

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

Fix the sync with head I botched.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:19 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.15.2.3: +3 -3 lines
Diff to previous 1.15.2.3 (colored)

Sync with HEAD.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:20 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.15.2.2: +4 -3 lines
Diff to previous 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 17 08:35:43 2004 UTC (18 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

In _bus_dmamap_load_buffer(), honour the maximum segment size specified
when the DMA map was created.

The previous behaviour honoured the maximum segment size only when
coalescing adjacent segments.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 16 10:12:40 2004 UTC (18 years, 5 months ago) by aymeric
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

fix typo in comment

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:37 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.15.2.1: +28 -1 lines
Diff to previous 1.15.2.1 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 25 10:12:46 2003 UTC (19 years, 6 months ago) by scw
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.16: +26 -2 lines
Diff to previous 1.16 (colored)

Switch ibm4xx over to using the more flexible powerpc bus_space/bus_dma code.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:47 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

__KERNEL_RCSID()

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:30 2003 UTC (19 years, 7 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:49 2003 UTC (19 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:05 2003 UTC (19 years, 7 months ago) by darrenr
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Thu Jun 12 08:30:41 2003 UTC (19 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Back out the last change after consultation with Matt Thomas. It hurts
platforms with fully functional bus snooping.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 12 07:32:28 2003 UTC (19 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

In _bus_dmamem_map(), make BUS_DMA_COHERENT behave the same way as
BUS_DMA_NOCACHE.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 18 09:16:05 2003 UTC (19 years, 9 months ago) by scw
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Make sure _bus_dmamap_load_mbuf() converts cpu-relative addresses
to bus-relative addresses.

Spotted by John Gordon, on port-powerpc@.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 9 22:28:56 2003 UTC (19 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.9: +75 -15 lines
Diff to previous 1.9 (colored)

Cleanup dmamap_sync a bit and add a few more comments.  Add support for
cached physaddr's in mbufs.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 2 02:47:19 2003 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 16 05:37:37 2003 UTC (19 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.7: +15 -14 lines
Diff to previous 1.7 (colored)

Fix bus_dmamap_sync (add offset to ds->ds_addr when needed).
Add a set of parenthesis to PMAP_NC so it evaluates properly.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 15 07:25:20 2003 UTC (19 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.6: +8 -1 lines
Diff to previous 1.6 (colored)

When mapping a page with BUS_SPACE_NOCACHE, make sure to flush the
physical page from the data cache.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 5 22:08:29 2003 UTC (19 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.5: +11 -11 lines
Diff to previous 1.5 (colored)

Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 6 23:03:54 2003 UTC (20 years ago) by matt
Branch: MAIN
Changes since 1.4: +102 -5 lines
Diff to previous 1.4 (colored)

Add a _bus_dmamap_sync which supports cache-incoherent implementations.
Support BUS_DMA_NOCACHE.

Revision 1.2.10.3 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:44 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.10.2: +2 -2 lines
Diff to previous 1.2.10.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 25 05:37:00 2002 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Avoid strict-alias warnings.

Revision 1.2.18.1 / (download) - annotate - [select for diffs], Mon Jul 15 00:33:12 2002 UTC (20 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

catch up with -current.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sun Jun 23 17:39:46 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

catch up with -current on kqueue branch

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:34 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.10.1: +632 -0 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:38 2002 UTC (20 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (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.2.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:32:27 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Catch up to -current.

Revision 1.2.10.1, Sun Jun 10 02:31:25 2001 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +0 -633 lines
FILE REMOVED

file bus_dma.c was added on branch nathanw_sa on 2002-06-20 03:40:34 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 10 02:31:25 2001 UTC (21 years, 7 months ago) by briggs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, 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: nathanw_sa, kqueue, gehenna-devsw
Changes since 1.1: +9 -4 lines
Diff to previous 1.1 (colored)

Pull avail_start/avail_end logic for bus_dmamem_alloc() from macppc port,
as suggested by matt@netbsd.org--the vm_physmem array may not be in order.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 6 17:37:37 2001 UTC (21 years, 8 months ago) by matt
Branch: MAIN

Include a common bus.h and bus_dma.c that powerpc ports can use
if they so choose.

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>