The NetBSD Project

CVS log for src/sys/arch/sun2/sun2/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86 / (download) - annotate - [select for diffs], Wed Dec 20 05:13:35 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Dec 2 15:50:57 2023 UTC (4 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.84: +38 -24 lines
Diff to previous 1.84 (colored)

Use vmem(9) rather than extent(9) to manage DVMA mappings.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Aug 17 22:00:31 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:45 2020 UTC (3 years, 10 months ago) by ad
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.82: +3 -3 lines
Diff to previous 1.82 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.77.30.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:55 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.77.30.1: +40 -29 lines
Diff to previous 1.77.30.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Merge changes from current as of 20200406

Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 8 06:06:46 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.81: +13 -2 lines
Diff to previous 1.81 (colored)

Support module(7).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Mar 8 06:05:05 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.80: +28 -28 lines
Diff to previous 1.80 (colored)

Sort headers.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:12 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:23 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

uvmexp.free -> uvm_free()

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

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jun 3 05:59:02 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

 Fix typo in comment(s/similiar/similar/).

Revision 1.77.20.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:34 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.77: +10 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.77.10.1 / (download) - annotate - [select for diffs], Wed Jul 20 23:50:56 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.77: +10 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:26 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.76: +6 -6 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:10 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.70.2.2: +6 -6 lines
Diff to previous 1.70.2.2 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:27 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.76: +6 -6 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Mon Mar 24 18:50:31 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-localcount
Changes since 1.76: +6 -6 lines
Diff to previous 1.76 (colored)

- remove unused
- use cpu_{g,s}etmodel

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:26 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.70.2.1: +2 -9 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Fri Aug 10 14:52:26 2012 UTC (11 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.75: +2 -4 lines
Diff to previous 1.75 (colored)

Move cn_tab initialization from late cpu_startup(9) to
early _bootstrap() in locore2.c.
Tested on TME emulating 2/120.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 30 17:27:20 2012 UTC (11 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.74: +4 -2 lines
Diff to previous 1.74 (colored)

move console initialization to cpu_startup() so that we avoid multiple common.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:25 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

Remove declartions of physmem

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:12 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.72: +2 -8 lines
Diff to previous 1.72 (colored)

Remove safepri and use IPL_SAFEPRI instead.  This may be defined in a MD
header file (if not, a value of 0 is assmued).

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:57 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.70: +5 -15 lines
Diff to previous 1.70 (colored)

sync with head

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:19 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.70: +5 -15 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

merge to -current.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:03 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

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

releng@ acknowledged

Revision 1.71 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:11 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.70: +4 -14 lines
Diff to previous 1.70 (colored)

implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places.  avoid doing so while actually dumping.

tested i386 crash dumps still work, and that all touched files compile.

fixes PR#45705.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:44 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.69: +42 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:47 2011 UTC (12 years, 10 months ago) by rmind
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.69: +42 -2 lines
Diff to previous 1.69 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:55 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.65: +4 -41 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

Revision 1.65.2.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:20 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.65.2.2: +0 -34 lines
Diff to previous 1.65.2.2 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Mon May 16 13:22:55 2011 UTC (12 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.68: +2 -36 lines
Diff to previous 1.68 (colored)

- merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c
- move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>

Briefly tested and no obvious breakage on atari, sun3, and x68k.

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:11 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.65.2.1: +5 -8 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored)

sync with head

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:06 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.66.2.1: +3 -3 lines
Diff to previous 1.66.2.1 (colored) next main 1.67 (colored)

Sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:29 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:02 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.66: +3 -7 lines
Diff to previous 1.66 (colored)

Sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:24 2011 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.66: +3 -7 lines
Diff to previous 1.66 (colored)

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Jan 17 14:36:33 2011 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

Explicitly include <machine/pcb.h> for struct pcb.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:54 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.64: +2 -10 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:52 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.65: +42 -2 lines
Diff to previous 1.65 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.50.16.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:03 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.16.3: +6 -14 lines
Diff to previous 1.50.16.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:32 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.64: +2 -10 lines
Diff to previous 1.64 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:52 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 21 04:16:52 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:47 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (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.50.16.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:47 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.16.2: +3 -2 lines
Diff to previous 1.50.16.2 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Aug 15 23:45:00 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
do it for us.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:39 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

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

Revision 1.50.16.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:59 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.16.1: +14 -18 lines
Diff to previous 1.50.16.1 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:26 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.53.4.1: +5 -4 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:03 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Mon Feb 2 03:30:33 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Pull up following revision(s) (requested by ad in ticket #346):
	sys/arch/alpha/alpha/machdep.c: revision 1.311
	sys/arch/amiga/amiga/machdep.c: revision 1.211
	sys/arch/atari/atari/machdep.c: revision 1.153
	sys/arch/hp700/hp700/machdep.c: revision 1.53
	sys/arch/i386/i386/dumpsys.c: revision 1.5
	sys/arch/mips/mips/mips_machdep.c: revision 1.206
	sys/arch/mvme68k/mvme68k/machdep.c: revision 1.132
	sys/arch/news68k/news68k/machdep.c: revision 1.75
	sys/arch/next68k/next68k/machdep.c: revision 1.88
	sys/arch/sparc/sparc/machdep.c: revision 1.285
	sys/arch/sparc64/sparc64/machdep.c: revision 1.230
	sys/arch/sun2/sun2/machdep.c: revision 1.56
	sys/arch/sun3/sun3/machdep.c: revision 1.188
	sys/arch/sun3/sun3x/machdep.c: revision 1.114
	sys/arch/x68k/x68k/machdep.c: revision 1.153
dumpsys: don't spew numbers into the log.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jan 21 16:24:34 2009 UTC (15 years, 2 months ago) by he
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Re-adapt to the changed return types for major() and minor().

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:56 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.53: +12 -10 lines
Diff to previous 1.53 (colored)

Sync with HEAD.

Revision 1.50.12.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:33 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.12.3: +10 -8 lines
Diff to previous 1.50.12.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jan 12 08:22:37 2009 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.57: +6 -6 lines
Diff to previous 1.57 (colored)

use PRIu64 format to printf major() and minor() values

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:33 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.53: +8 -6 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:36 2008 UTC (15 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 25 15:51:34 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

dumpsys: don't spew numbers into the log.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:08 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:44 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:35 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51.2.3: +2 -9 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:55 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.52: +2 -9 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with head.

Revision 1.50.12.3 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:18 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.12.2: +0 -7 lines
Diff to previous 1.50.12.2 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.52: +2 -9 lines
Diff to previous 1.52 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:47 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51.2.2: +3 -3 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

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

Revision 1.50.14.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:20 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.50.14.1: +3 -3 lines
Diff to previous 1.50.14.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.50.12.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:34 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.12.1: +1 -1 lines
Diff to previous 1.50.12.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Also fix build.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

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

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

Sync with HEAD.

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

sync with head.

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

sync with head.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:01 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51.2.1: +2 -3 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:47 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:37 2008 UTC (15 years, 11 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.50: +2 -9 lines
Diff to previous 1.50 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.49.14.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:11 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with HEAD

Revision 1.49.12.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:20 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.49.20.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:59 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.49.22.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:29 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:28 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.4: +4 -2 lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Tue Dec 4 15:12:07 2007 UTC (16 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: 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, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

Adapt sun68k ports to recent interrupt handling changes.

XXX: sun2 (m68010) doesn't have CAS instructions.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:29 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.3: +9 -9 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)

sync with head.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:45 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:23:19 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.47.2.1: +5 -5 lines
Diff to previous 1.47.2.1 (colored) next main 1.48 (colored)

Sync with head.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sat Mar 31 15:42:11 2007 UTC (17 years ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #527):
	sys/arch/sun2/sun2/trap.c: revision 1.30
	sys/arch/sun2/include/param.h: revision 1.9
	sys/arch/sun2/sun2/machdep.c: revision 1.49
Pass proper args to ksyms_init().
Fix compile with options DIAGNOSTIC.
(Hmm, no one has tried it since nathanw_sa merge..)
Bump MAXBSIZE to 0x4000 because 16KB could be used by default
on newfs(8) in these days and we'll get "buf mem pool index 5" panic
in sys/kern/vfs_bio.c.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:02 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45.2.2: +5 -5 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:34 2007 UTC (17 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Fri Mar 16 12:12:14 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking2-base1, vmlocking-nbase, vmlocking-base, thorpej-atomic-base, thorpej-atomic, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

Pass proper args to ksyms_init().

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:06 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Sync with head.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:04 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.45.2.1: +6 -6 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Mar 10 22:29:24 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Fix more caddr_t fallout.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:52 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

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

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:18 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:32 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.2: +5 -6 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 22 16:46:47 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

TRUE -> true, FALSE -> false

Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:13 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.44: +2 -3 lines
Diff to previous 1.44 (colored)

Merge newlock2 to head.

Revision 1.41.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:38 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.41.20.1: +2 -3 lines
Diff to previous 1.41.20.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Remove support for SA. Ok core@.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:06 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.1: +68 -4 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

sync with head.

Revision 1.41.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:34 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.41: +68 -4 lines
Diff to previous 1.41 (colored)

Sync with head.

Revision 1.41.22.2 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:15 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.41.22.1: +6 -4 lines
Diff to previous 1.41.22.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:33 2006 UTC (17 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored)

in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.

Revision 1.41.22.1 / (download) - annotate - [select for diffs], Fri Oct 6 13:27:05 2006 UTC (17 years, 6 months ago) by tsutsui
Branch: yamt-splraiseipl
Changes since 1.41: +64 -2 lines
Diff to previous 1.41 (colored)

Sync files of recent sun3 and sun68k merge and intersil7170(4) changes
with HEAD to build sun3 kernel on this branch.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Oct 3 13:02:32 2006 UTC (17 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.42: +5 -7 lines
Diff to previous 1.42 (colored)

- change find_prom_map() to take paddr_t and return vaddr_t rather than
  bus_space_handle_t since bus space handle without bus space tag looks weird
- replace old sun3 obio_find_mapping() with new common find_prom_map()
- add bus_space_vaddr(), from hp300

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 1 03:53:27 2006 UTC (17 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.41: +66 -2 lines
Diff to previous 1.41 (colored)

First attempt at bus_space(9) support for sun3 with common sun68k/bus.c:
- make sun3 port use common sun68k files as much as possible
- add temporary options _SUN2_ in std.sun2 until sun3 can share all
  sun68k files (autoconf.c and isr.c are not yet)
- move sun68kvme declaration temporary as well from files.sun68k to files.sun2
- rename and move sun68k_find_prom_map() function to MD sources since it
  can't be shared with sun3
- add bus tag members to struct confargs and initilize them where appropriate

XXX1: MD bus_dma(9) backends are not implemented (yet).
XXX2: more code (obio etc.) should be shared among sun3, sun3x and sun2.

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

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:41 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, 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, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:16 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

merge ktrace-lwp.

Revision 1.27.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:38 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.6: +5 -3 lines
Diff to previous 1.27.2.6 (colored) next main 1.28 (colored)

Sync with HEAD. Here we go again...

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jun 5 12:36:24 2005 UTC (18 years, 10 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

There was still a reference to bufpages here (preceded by an XXX comment)
so provide a local extern declaration after it was removed from <sys/buf.h>.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:25 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.35: +42 -62 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with -current

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (18 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.27.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:41 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.5: +6 -4 lines
Diff to previous 1.27.2.5 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:35 2005 UTC (19 years ago) by yamt
Branch: MAIN
Changes since 1.36: +6 -4 lines
Diff to previous 1.36 (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.36.2.1 / (download) - annotate - [select for diffs], Mon Jan 31 12:22:05 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.36: +6 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

convert arch/sun2 to new apis.

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Mon Jan 24 08:34:34 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.4: +37 -59 lines
Diff to previous 1.27.2.4 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jan 22 15:36:09 2005 UTC (19 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, 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
Branch point for: yamt-km
Changes since 1.35: +37 -59 lines
Diff to previous 1.35 (colored)

de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:23:07 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.3: +4 -4 lines
Diff to previous 1.27.2.3 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:49 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.1: +89 -104 lines
Diff to previous 1.27.2.1 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:51 2004 UTC (20 years ago) by atatat
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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.34: +10 -6 lines
Diff to previous 1.34 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:19 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 13 10:14:17 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Uppercase CPU.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.31: +3 -64 lines
Diff to previous 1.31 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:22 2003 UTC (20 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.30: +45 -40 lines
Diff to previous 1.30 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Sep 27 20:01:59 2003 UTC (20 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Cast through (void *) to appease gcc3.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:53 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.28: +38 -4 lines
Diff to previous 1.28 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:12 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.27: +4 -1 lines
Diff to previous 1.27 (colored)

__KERNEL_RCSID()

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:34 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:03 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:10 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:44 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.24 / (download) - annotate - [select for diffs], Sat May 3 18:11:03 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

DMA, not dma nor Dma.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:21 2003 UTC (20 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 1 15:47:48 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.21: +23 -23 lines
Diff to previous 1.21 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 18 06:58:34 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +8 -7 lines
Diff to previous 1.20 (colored)

Merge the nathanw_sa branch.

Revision 1.11.4.12 / (download) - annotate - [select for diffs], Mon Nov 11 22:05:07 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.4.11: +4 -5 lines
Diff to previous 1.11.4.11 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Catch up to -current

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 20 02:37:33 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.19: +4 -5 lines
Diff to previous 1.19 (colored)

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
 - use m68k/cacheops.*, remove duplicates from cpu.h.
 - centralize a few declarations in (all the copies of) cpu.h.
 - define M68K_VAC on platforms which have a VAC.
 - switch the sun platforms to the (now common) proc_trampoline().
 - do the phys_map thang on the sun platforms too, no reason not to.

Revision 1.11.4.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:14 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.10: +1 -3 lines
Diff to previous 1.11.4.10 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:55 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.9.2.5: +9 -9 lines
Diff to previous 1.9.2.5 (colored) next main 1.10 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.11.4.10 / (download) - annotate - [select for diffs], Sat Oct 5 07:11:56 2002 UTC (21 years, 6 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.11.4.9: +2 -2 lines
Diff to previous 1.11.4.9 (colored) to branchpoint 1.11 (colored)

LWPify

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:24 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Don't include <sys/map.h>.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 19 10:38:04 2002 UTC (21 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

Do not include <sys/clist.h>, it's not used in NetBSD at all.

Revision 1.11.4.9 / (download) - annotate - [select for diffs], Tue Sep 17 21:18:11 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.8: +9 -7 lines
Diff to previous 1.11.4.8 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: MAIN
Changes since 1.16: +9 -7 lines
Diff to previous 1.16 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:42:01 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.9.2.4: +4 -5 lines
Diff to previous 1.9.2.4 (colored)

sync kqueue branch with HEAD

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Sat Aug 31 14:52:41 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14.4.3: +4 -5 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

catch up with -current.

Revision 1.11.4.8 / (download) - annotate - [select for diffs], Tue Aug 27 23:45:57 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.7: +4 -5 lines
Diff to previous 1.11.4.7 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:43 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.15: +4 -5 lines
Diff to previous 1.15 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Mon Jul 15 01:22:08 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14.4.2: +2 -2 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored)

catch up with -current.

Revision 1.11.4.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:50 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.6: +1 -2 lines
Diff to previous 1.11.4.6 (colored) to branchpoint 1.11 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:42:32 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.9.2.3: +3 -3 lines
Diff to previous 1.9.2.3 (colored)

catch up with -current on kqueue branch

Revision 1.11.4.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:38 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.5: +2 -2 lines
Diff to previous 1.11.4.5 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Sat Jun 8 09:12:09 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14.4.1: +2 -2 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

fix type of variable.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 30 22:40:31 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Add missing "__volatile" to the declaration of enable_reg_soft (the
extern decl in enable.h already has volatile).

Revision 1.11.4.5 / (download) - annotate - [select for diffs], Wed May 29 21:32:02 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.4: +2 -1 lines
Diff to previous 1.11.4.4 (colored) to branchpoint 1.11 (colored)

#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:50:00 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14: +8 -6 lines
Diff to previous 1.14 (colored)

Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.11.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:43:20 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.3: +3 -3 lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:26 2002 UTC (22 years ago) by christos
Branch: MAIN
CVS Tags: 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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

kill remaining PS_STRINGS instances.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:04 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 (colored)

Catch up with -current.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:24 2002 UTC (22 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:39 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.9.2.1: +17 -27 lines
Diff to previous 1.9.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:28:12 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.4.2: +17 -27 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 30 18:10:27 2001 UTC (22 years, 4 months ago) by fredette
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.11: +17 -27 lines
Diff to previous 1.11 (colored)

vm_offset_t -> vaddr_t or paddr_t, as appropriate.
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
No longer try to protect the kernel with uvm_map_protect,
pmap_bootstrap has already done this.
Now use pmap_kenter_pa/pmap_kremove when dumping, instead
of pmap_enter/pmap_remove.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:45:50 2001 UTC (22 years, 5 months ago) by scw
Branch: nathanw_sa
Changes since 1.11.4.1: +1177 -0 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)

MD Scheduler Activation bits for Sun2.

XXX: I can't even compile-test this since the Sun2 config files
XXX: are borked both on the nathanw_sa branch and in -current ...

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:42 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Catch up with -current.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:46 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.9: +14 -9 lines
Diff to previous 1.9 (colored)

Update the kqueue branch to HEAD.

Revision 1.11.4.1, Mon Sep 10 21:19:40 2001 UTC (22 years, 7 months ago) by scw
Branch: nathanw_sa
Changes since 1.11: +0 -1176 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-18 19:45:50 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:40 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Thu Sep 6 21:38:40 2001 UTC (22 years, 7 months ago) by fredette
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.9: +8 -3 lines
Diff to previous 1.9 (colored)

In _bus_dmamap_load, now check the return value of pmap_extract
under DIAGNOSTIC, and fixed a bug where we weren't putting the
right size into a newly valid map.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 27 03:16:02 2001 UTC (22 years, 9 months ago) by fredette
Branch: MAIN
Branch point for: kqueue
Changes since 1.8: +31 -760 lines
Diff to previous 1.8 (colored)

Moved much softint and bus_space/bus_dma code
to the common sun68k code.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:22 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 30 15:24:38 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

add missing   #include "opt_kgdb.h"

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

replace vm_page_t with struct vm_page *.

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 14 15:36:42 2001 UTC (22 years, 11 months ago) by fredette
Branch: MAIN
Changes since 1.4: +11 -8 lines
Diff to previous 1.4 (colored)

As a side-effect of the ELF conversion, the msgbuf
can now be 8K large.  Removed more 68881 code that
is only useful if you have the real silicon, which
the 68010 never will.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:13 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.3: +8 -1 lines
Diff to previous 1.3 (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.3.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:54:56 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.2.1: +1889 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.2.1, Wed Apr 18 03:45:10 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +0 -1889 lines
FILE REMOVED

file machdep.c was added on branch thorpej_scsipi on 2001-04-21 17:54:56 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 18 03:45:10 2001 UTC (23 years ago) by fredette
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Branch point for: thorpej_scsipi
Changes since 1.2: +103 -76 lines
Diff to previous 1.2 (colored)

Much bus_dma work.  When destroying a map, unload it if it's
loaded.  Added more comments.  Fixed the perspective of a 24-bit
device from the original sun4 code to match the sun2.  For now,
we don't double-map pages into DVMA space by hand, we're back
to using pmap_enter.  Be more paranoid about saving and
restoring the MMU user context.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 10 12:33:09 2001 UTC (23 years ago) by fredette
Branch: MAIN
Changes since 1.1: +15 -6 lines
Diff to previous 1.1 (colored)

Make softintr_handler return one, not zero, to properly
claim the interrupt.  Added special bus_space_probe
handling to sun2_bus_map.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 6 15:05:56 2001 UTC (23 years ago) by fredette
Branch: MAIN

Added.

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>