The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.69 / (download) - annotate - [select for diffs], Thu Dec 7 16:56:09 2023 UTC (2 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.68: +82 -79 lines
Diff to previous 1.68 (colored)

extent(9) -> vmem(9)

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jan 6 10:28:27 2023 UTC (13 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

TAB/spaces/indents cleanup.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 26 20:08:55 2022 UTC (19 months ago) by andvar
Branch: MAIN
CVS Tags: 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
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

s/functin/function/ in copy pasted comment.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 3 16:48:03 2022 UTC (19 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.65: +22 -22 lines
Diff to previous 1.65 (colored)

Use __func__ to print function names.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jul 3 16:40:29 2022 UTC (19 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.64: +5 -5 lines
Diff to previous 1.64 (colored)

Use proper TAILQ(3) macro as other bus_dma(9) implementation.

No binary change.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jul 3 16:33:31 2022 UTC (19 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.63: +27 -28 lines
Diff to previous 1.63 (colored)

Misc KNF.  No binary change.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 3 16:03:08 2022 UTC (19 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.62: +64 -17 lines
Diff to previous 1.62 (colored)

Move the iomem extent stuff managed by bus_space(9) and make them static.

Inspired by MD bus_space(9) implemantation of arc.
Briefly tested on TT030.

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 24 19:55:10 2022 UTC (21 months ago) by andvar
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

s/entrace/entrance/ in copy pasted comment.

Revision 1.60.14.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:19 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.60: +14 -10 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jan 3 17:42:10 2021 UTC (3 years, 1 month 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.60: +14 -10 lines
Diff to previous 1.60 (colored)

malloc(9) -> kmem(9)

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:02 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.59: +183 -26 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Synch with HEAD

Revision 1.58.12.1 / (download) - annotate - [select for diffs], Tue Mar 13 13:41:13 2018 UTC (5 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.58: +185 -28 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #624):
	sys/arch/atari/stand/xxboot/sdboot/milan/Makefile: revision 1.4
	sys/arch/atari/dev/nvram.c: revision 1.21
	sys/arch/atari/conf/MILAN.in: revision 1.28
	sys/arch/atari/atari/pmap_bootstrap.c: revision 1.9
	sys/dev/isa/fd.c: revision 1.111
	sys/arch/atari/atari/bus.c: revision 1.60
	sys/arch/atari/stand/xxboot/ahdi-xxboot/milan/Makefile: revision 1.4
	sys/arch/atari/atari/locore.s: revision 1.111
	sys/arch/atari/isa/isa_machdep.c: revision 1.41
	distrib/sets/lists/base/md.atari: revision 1.55
	sys/arch/atari/pci/pci_machdep.c: revision 1.55
	sys/arch/atari/pci/pci_machdep.c: revision 1.56
	sys/arch/atari/include/vmparam.h: revision 1.32
	sys/arch/atari/isa/isa_milan.c: revision 1.15
	sys/arch/atari/isa/isa_milan.c: revision 1.16
	sys/arch/atari/atari/bus.c: revision 1.59
	sys/arch/atari/atari/atari_init.c: revision 1.101
	sys/arch/atari/pci/pci_milan.c: revision 1.15
Fix I/O access failures for regions allocated by bus_space_map(9) on Milan.

Passing to PMAP_WIRED against I/O spaces seems problematic,
probably after yamt-km branch merge, which was committed
between NetBSD 3.0 and NetBSD 4.0.
(i.e. ISA and PCI devices on Milan didn't work after 4.0 release)

XXX:
According to pmap(9) man page, the "flags" arg for pmap_enter(9)
doesn't take VM_PROT_READ and VM_PROT_WRITE, but pmap_enter()
implementation in sys/arch/m68k/m68k/pmap_motolora.c historically
checks them.

Fix silent hang during config_console() (before consinit()) on Milan.
config_console() was a dirty hack used by ancient m68k ports
to probe and initialize console devices before "real" configure(9),
using subset of configure(9) functions.

In that case, most device specific data (except I/O access method)
are not initialized so we must not access device specific device_t and
softc structures in config_console() cases.

Fix silent hang after isa_intr_establish() on Milan.
The problems (wrong macro replacements) were slipped in rev 1.107:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/atari/atari/locore.s#rev1.107
Handle yet another atari specific quirk in the MI ISA fdc(4)/fd(4) driver.
This makes fd(4) drive(s) (which is necessary for installation)
properly attached on Milan.
atari uses "fdcisa" and "fdisa" for ISA fdc to co-exist other fd(4)
drivers, on-board (atari/dev/fd.c) one and Hades (atari/dev/hdfd.c) one.

Use a proper PSL value to be passed to splx(9) functions.
This should have been changed on yamt-splraiseipl branch merge
back in 2006, which made MI IPL_xxx values independent from
m68k MD PSL values for the %sr register.

Restore piixide(4) for Milan and disable other pciide devices.
piixide was removed in rev 1.18 and the log message said
"because Intel IDE disk controllers only exist as part of
 Intel chipsets for x86 systems" but the Milan actually has
the Intel 82371FB southbridge on its board.
Other pciide devices are unlikely necessary for the default
kernel for such a rare machine.
Also fix pasto in comment.

Skip NVRAM checksum check and re-initialization on Milan.
Milan's firmware seems to use different check method.

Ack EOI for IRQ_SLAVE of the master PIC after ack for IRQ of the slave PIC.
I'm not sure if there are possible races in the original code, but
this is what i8259_asm_ack2() in sys/arch/x86/include/i8259.h does
and it looks this change makes a Milan kernel a bit stable.
Replace CRTC register values with ones taken from sys/dev/ic/vga_subr.c.
This fixes noise around column 3 and 4 and makes screen output clearer
on Milan with S3 Trio64V.

Explicitly setup the secondary IDE interrupt of PIIX on Milan.
The secondary IDE interrupt is connected to MBIRQ0 on PIIX, but
the Milan's ROM bootloader (at least version 0.99.7) doesn't seem
to setup the MBIRQ0 register to route it to IRQ15.

On Milan, also explicitly disable MBIRQ1 on PIIX.
Milan's ROM bootloader v1.2 and v1.4 incorrectly set MBIRQ0 connected
to the secondary IDE to IRQ14 (not 15) and unused MBIRQ1 to IRQ15,
so both IDE channels don't work properly.

Add dumb memory probe routines for Milan to use all available memory.
Tested on Milan with 32Mx1, 32Mx4, 128MBx1, and 128MBx3.
(bootloader ROM fails to load TOS with 128MBx4)
No particular comment on port-atari@:
 http://mail-index.netbsd.org/port-atari/2018/02/09/msg000580.html

Provide wdboot as a copy of sdboot for Milan.
It looks Milan's bootloader ROM emulates IDE disks as SCSI disks
so sdboot works for them, but atari's installboot checks a specified
device name and requires wdboot for wd(4) devices.

Fix another possible out of bounds.

Replace bus_dmamap_sync(9) op with a newer one taken from m68k/bus_dma.c.
This could fix memory corruption issue caused by PREREAD ops with regions
whose boundaries are not aligned at cacheline size.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 10 03:44:43 2018 UTC (5 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, 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.59: +183 -26 lines
Diff to previous 1.59 (colored)

Replace bus_dmamap_sync(9) op with a newer one taken from m68k/bus_dma.c.

This could fix memory corruption issue caused by PREREAD ops with regions
whose boundaries are not aligned at cacheline size.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jan 20 17:37:15 2018 UTC (6 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Fix I/O access failures for regions allocated by bus_space_map(9) on Milan.

Passing to PMAP_WIRED against I/O spaces seems problematic,
probably after yamt-km branch merge, which was committed
between NetBSD 3.0 and NetBSD 4.0.
(i.e. ISA and PCI devices on Milan didn't work after 4.0 release)

XXX:
According to pmap(9) man page, the "flags" arg for pmap_enter(9)
doesn't take VM_PROT_READ and VM_PROT_WRITE, but pmap_enter()
implementation in sys/arch/m68k/m68k/pmap_motolora.c historically
checks them.

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

update from HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:24 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:08 2012 UTC (11 years, 10 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.56.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:35 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

merge to -current.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 27 18:52:52 2012 UTC (12 years, 1 month ago) by para
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, 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, 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
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jul 1 20:34:05 2011 UTC (12 years, 8 months ago) by dyoung
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.55: +3 -3 lines
Diff to previous 1.55 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:40 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51.4.2: +3 -3 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 6 11:46:00 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

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

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:06 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.51.2.2: +2 -0 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.45.44.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:43 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.45.44.2: +80 -67 lines
Diff to previous 1.45.44.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:15 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51.4.1: +4 -2 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jun 6 04:50:06 2010 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

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

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

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:38 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51: +78 -67 lines
Diff to previous 1.51 (colored)

sync with head

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Thu May 27 14:47:29 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.51.2.1: +1 -1 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Fix build.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:09 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.51: +78 -67 lines
Diff to previous 1.51 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 13 11:22:22 2010 UTC (13 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

Misc KNF.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 31 13:15:52 2010 UTC (13 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.51: +76 -65 lines
Diff to previous 1.51 (colored)

ANSIfy, some KNF.

Revision 1.47.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:21 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.47: +31 -131 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

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

Revision 1.45.44.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:46 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.45.44.1: +34 -134 lines
Diff to previous 1.45.44.1 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:46 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.47: +31 -131 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:10 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

bzero -> memset

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:05 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.49: +14 -76 lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:02 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.48: +12 -50 lines
Diff to previous 1.48 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 5 13:21:44 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.47: +8 -8 lines
Diff to previous 1.47 (colored)

Remove __P().

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

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

Revision 1.45.42.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:13:55 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.45.42.1: +5 -5 lines
Diff to previous 1.45.42.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.45.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.45.40.1: +3 -3 lines
Diff to previous 1.45.40.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Also fix build.

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

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

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

Sync with HEAD.

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

sync with head.

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

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:14 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.45: +2 -9 lines
Diff to previous 1.45 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.1: +12 -12 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.42.20.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:18 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.42: +12 -12 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 6 14:42:44 2007 UTC (16 years, 11 months ago) by tsutsui
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.44: +5 -5 lines
Diff to previous 1.44 (colored)

Change bus_space_handle_t from void * (formerly caddr_t) to u_long
to make things easier.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 6 13:54:45 2007 UTC (16 years, 11 months ago) by he
Branch: MAIN
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

More fixes after the caddr_t removal.
Mostly cast to char* for pointer arithmetic,
but also one missing indirection, and one "void *v, x;" fix.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:39 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.42: +11 -11 lines
Diff to previous 1.42 (colored)

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

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:38:20 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.41: +16 -21 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:55 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39: +21 -23 lines
Diff to previous 1.39 (colored)

sync with head.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:20 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.41: +16 -21 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:11 2006 UTC (18 years ago) by yamt
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, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.41: +16 -21 lines
Diff to previous 1.41 (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.41.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 11:12:18 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.41: +16 -21 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

adapt bus_dma implementations.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:54 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.40: +3 -3 lines
Diff to previous 1.40 (colored)

merge ktrace-lwp.

Revision 1.35.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:15 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.35.2.7: +7 -4 lines
Diff to previous 1.35.2.7 (colored) next main 1.36 (colored)

Sync with head.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:22:57 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.39: +7 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 24 13:08:32 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.39: +7 -4 lines
Diff to previous 1.39 (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.37.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:05 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.37: +19 -9 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with -current

Revision 1.35.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:27:08 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.6: +19 -9 lines
Diff to previous 1.35.2.6 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:25 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.38: +12 -7 lines
Diff to previous 1.38 (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.37.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:32:52 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.37.6.1: +9 -4 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 10 18:16:01 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.37: +9 -4 lines
Diff to previous 1.37 (colored)

Adapt to new dm_maxsegsz semantics.

Revision 1.35.2.6 / (download) - annotate - [select for diffs], Sat Feb 19 13:18:14 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.5: +3 -3 lines
Diff to previous 1.35.2.5 (colored)

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

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Wed Jan 26 11:56:45 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.37: +12 -7 lines
Diff to previous 1.37 (colored)

convert arch/atari to new apis.

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

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:45 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.36: +4 -2 lines
Diff to previous 1.36 (colored)

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

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

Fix the sync with head I botched.

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

Sync with HEAD.

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

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jul 15 01:19:43 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.35: +4 -1 lines
Diff to previous 1.35 (colored)

__KERNEL_RCSID()

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:16 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:12 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 28 14:20:48 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Tue Apr 1 23:47:02 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +10 -10 lines
Diff to previous 1.32 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Sun Jul 14 17:45:57 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

catch up with -current.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:35:11 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.27.2.2: +1 -2 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

catch up with -current on kqueue branch

Revision 1.29.4.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:15 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.29.4.3: +1 -2 lines
Diff to previous 1.29.4.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Catch up to -current.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:36 2002 UTC (21 years, 9 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.31: +1 -2 lines
Diff to previous 1.31 (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.29.4.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:08:21 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.29.4.2: +1 -1 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored)

Catch up to -current.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Fri Jan 11 23:38:11 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.29.4.1: +965 -0 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

More catchup.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:39:48 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.27.2.1: +21 -5 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Sync kqueue branch with -current.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 9 20:54:14 2002 UTC (22 years, 1 month ago) by leo
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
Branch point for: gehenna-devsw
Changes since 1.30: +1 -5 lines
Diff to previous 1.30 (colored)

Nuke some unused code.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 7 07:17:17 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.29: +20 -1 lines
Diff to previous 1.29 (colored)

Implement bus_space_mmap().

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:38:01 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.27: +4 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Catch up with -current.

Revision 1.29.4.1, Fri Sep 28 12:36:49 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.29: +0 -950 lines
FILE REMOVED

file bus.c was added on branch nathanw_sa on 2002-01-11 23:38:11 +0000

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

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

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

Update the kqueue branch to HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:11 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (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.23.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:20:02 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.23.2.1: +5 -3 lines
Diff to previous 1.23.2.1 (colored) next main 1.24 (colored)

Catch up to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Sat May 26 21:27:05 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 24 04:30:54 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (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.23.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:51:43 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.23: +24 -36 lines
Diff to previous 1.23 (colored)

Catch up with -current.

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

Sync with HEAD.

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

s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:27:55 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.15.2.1: +23 -35 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 9 20:55:46 2001 UTC (22 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.23: +23 -35 lines
Diff to previous 1.23 (colored)

Expand bus_dma implementation. It will now handle the bounce buffer
extensions needed to make the isa floppy driver on the Milan work.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:05:22 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.15: +232 -18 lines
Diff to previous 1.15 (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.19.4.2 / (download) - annotate - [select for diffs], Thu Jul 6 11:29:58 2000 UTC (23 years, 7 months ago) by leo
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.19.4.1: +13 -2 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Pullup 1.21 - 1.22. Approved by thorpej.

When mapping non-cacheable memory with bus_space_map, make sure we use the
precise (serialized) way.

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

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 29 08:28:23 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.22: +2 -2 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], Thu Jun 29 07:40:04 2000 UTC (23 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.21: +13 -2 lines
Diff to previous 1.21 (colored)

When mapping non-cacheable memory with bus_space_map, make sure we use the
precise (serialized) way.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:39 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Mon Jun 26 04:55:33 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.19: +5 -3 lines
Diff to previous 1.19 (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.15.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:46 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.15: +215 -13 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 9 13:07:41 1999 UTC (24 years, 2 months ago) by leo
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Fix argument of extent_free().

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 6 16:06:25 1999 UTC (24 years, 2 months ago) by leo
Branch: MAIN
Changes since 1.17: +93 -2 lines
Diff to previous 1.17 (colored)

Implement an allocator for VA-space using fixed extent maps. It is now
possible to allocate VA-space before uvm is initialized.

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

Sync with -current

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

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

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 28 13:38:35 1999 UTC (24 years, 4 months ago) by leo
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.15: +118 -9 lines
Diff to previous 1.15 (colored)

Use extent maps.

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 19:42:53 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.13.4.1: +2 -2 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:05:26 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.14: +2 -2 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:48:33 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.13: +3 -7 lines
Diff to previous 1.13 (colored)

Sync w/ -current.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 25 23:14:04 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -7 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.13 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:28 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: +3 -3 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], Wed Mar 24 05:50:57 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.11: +1 -28 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Mon Sep 21 22:54:46 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.10: +3 -14 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 2 14:58:01 1998 UTC (25 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.9: +20 -20 lines
Diff to previous 1.9 (colored)

Get rid of vm_offset_t/vm_size_t

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 3 13:09:01 1998 UTC (25 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Pass the dma_tag to _bus_dmamap_load_buffer.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 17 21:09:59 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 04:26:34 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +23 -8 lines
Diff to previous 1.6 (colored)

Sync w/ i386 port.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 24 19:32:38 1998 UTC (25 years, 9 months ago) by is
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 23 20:51:09 1998 UTC (25 years, 9 months ago) by is
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Move M680[2346]0 to opt_m68kcpu.h.
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 18 12:06:46 1998 UTC (25 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.3: +3 -5 lines
Diff to previous 1.3 (colored)

Fix errors when compiling for M68030 only. (Witek Wnuk)

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 11 07:46:15 1998 UTC (25 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.2: +11 -1 lines
Diff to previous 1.2 (colored)

Add UVM option.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 10 08:19:53 1998 UTC (25 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Major overhaul of the atari bus_space implementation.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 13 21:05:10 1998 UTC (25 years, 11 months ago) by leo
Branch: MAIN

Move the bus_* functions from machdep.c to bus.c .

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>