The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.190 / (download) - annotate - [select for diffs], Tue Feb 13 21:39:02 2024 UTC (2 weeks, 4 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.189: +3 -3 lines
Diff to previous 1.189 (colored)

s/enqueing/enqueuing/ in debug messages (took a bait from recent Nick's commit)
s/occaision/occasion/ in comment.

Revision 1.189 / (download) - annotate - [select for diffs], Thu Dec 7 16:56:09 2023 UTC (2 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.188: +2 -7 lines
Diff to previous 1.188 (colored)

extent(9) -> vmem(9)

Revision 1.188 / (download) - annotate - [select for diffs], Sun Jul 3 16:03:08 2022 UTC (20 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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.187: +4 -4 lines
Diff to previous 1.187 (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.187 / (download) - annotate - [select for diffs], Sat Jul 2 08:35:49 2022 UTC (20 months ago) by tsutsui
Branch: MAIN
Changes since 1.186: +7 -7 lines
Diff to previous 1.186 (colored)

Use and print consistent CPU/MMU/FPU names.

Revision 1.186 / (download) - annotate - [select for diffs], Sun Mar 13 17:50:55 2022 UTC (23 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.185: +3 -3 lines
Diff to previous 1.185 (colored)

s/hander/handler/ and s/hader/header/ in comments and documentation.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 9 20:00:41 2021 UTC (2 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.184: +6 -3 lines
Diff to previous 1.184 (colored)

Call cnpollc(9) before cngetc(9) as the cons(9) man page says.

Currently most ports do nothing in cnpollc(9), but this is required to
handle wskbd(9) .set_leds op in cngetc(9) properly, at least on luna68k.

Revision 1.183.2.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.183: +4 -4 lines
Diff to previous 1.183 (colored) next main 1.184 (colored)

Sync with HEAD.

Revision 1.184 / (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.183: +4 -4 lines
Diff to previous 1.183 (colored)

malloc(9) -> kmem(9)

Revision 1.183 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:43 2020 UTC (3 years, 8 months ago) by ad
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (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.177.30.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:39 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.177.30.1: +12 -25 lines
Diff to previous 1.177.30.1 (colored) to branchpoint 1.177 (colored) next main 1.178 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.177.30.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:31 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.177: +3 -3 lines
Diff to previous 1.177 (colored)

Merge changes from current as of 20200406

Revision 1.182 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:09 2019 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.181: +3 -3 lines
Diff to previous 1.181 (colored)

Rename uvm_free() -> uvm_availmem().

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

uvmexp.free -> uvm_free()

Revision 1.180 / (download) - annotate - [select for diffs], Sat Jun 29 03:22:52 2019 UTC (4 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: phil-wifi-20191119, 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.179: +2 -11 lines
Diff to previous 1.179 (colored)

Remove obsolete stuff.

Revision 1.179 / (download) - annotate - [select for diffs], Sat Jun 29 03:19:49 2019 UTC (4 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.178: +10 -13 lines
Diff to previous 1.178 (colored)

Fix PR/54325 (use of dangling pointer).

Revision 1.178 / (download) - annotate - [select for diffs], Sat Jun 29 03:10:51 2019 UTC (4 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.177: +6 -7 lines
Diff to previous 1.177 (colored)

TAB/space cleanup.

Revision 1.177.20.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:32 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.177: +6 -3 lines
Diff to previous 1.177 (colored) next main 1.178 (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.177.10.1 / (download) - annotate - [select for diffs], Wed Jul 20 23:50:54 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.177: +6 -3 lines
Diff to previous 1.177 (colored) next main 1.178 (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.175.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:48 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.175: +7 -11 lines
Diff to previous 1.175 (colored) next main 1.176 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.172.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:34 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.172.2.2: +7 -11 lines
Diff to previous 1.172.2.2 (colored) to branchpoint 1.172 (colored) next main 1.173 (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.175.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.175: +7 -11 lines
Diff to previous 1.175 (colored) next main 1.176 (colored)

sync with head

Revision 1.177 / (download) - annotate - [select for diffs], Wed Mar 26 18:04:33 2014 UTC (9 years, 11 months 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, phil-wifi-20190609, 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.176: +3 -3 lines
Diff to previous 1.176 (colored)

kill sprintf

Revision 1.176 / (download) - annotate - [select for diffs], Mon Mar 24 18:39:57 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.175: +6 -10 lines
Diff to previous 1.175 (colored)

- remove unused
- use cpu_{g,s}etmodel() (not committed yet)

Revision 1.172.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:12 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.172.2.1: +2 -8 lines
Diff to previous 1.172.2.1 (colored) to branchpoint 1.172 (colored)

sync with head

Revision 1.175 / (download) - annotate - [select for diffs], Fri Aug 10 17:43:32 2012 UTC (11 years, 6 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.174: +2 -3 lines
Diff to previous 1.174 (colored)

Appease gcc -fno-common:
 - remove physmem from machdep.c since it's initialized in atari_init.c
 - declare I/O address space variables properly
Compile test only.  (currenty my TT030 is busy on pkgsrc builds)

Revision 1.174 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:10 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.173: +2 -7 lines
Diff to previous 1.173 (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.172.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
Changes since 1.172: +4 -10 lines
Diff to previous 1.172 (colored)

sync with head

Revision 1.172.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:36 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.172: +4 -10 lines
Diff to previous 1.172 (colored) next main 1.173 (colored)

merge to -current.

Revision 1.173 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:08 2011 UTC (12 years, 2 months ago) by mrg
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.172: +4 -10 lines
Diff to previous 1.172 (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.171.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:01 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.171: +33 -2 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.172 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:39 2011 UTC (12 years, 8 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.171: +33 -2 lines
Diff to previous 1.171 (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.168.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:07 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.168: +3 -75 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

Sync with HEAD.

Revision 1.165.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:03:56 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.165.2.3: +0 -34 lines
Diff to previous 1.165.2.3 (colored) to branchpoint 1.165 (colored) next main 1.166 (colored)

sync with head

Revision 1.171 / (download) - annotate - [select for diffs], Mon May 16 13:22:52 2011 UTC (12 years, 9 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.170: +2 -36 lines
Diff to previous 1.170 (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.165.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:40 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.165.2.2: +15 -42 lines
Diff to previous 1.165.2.2 (colored) to branchpoint 1.165 (colored)

sync with head

Revision 1.168.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:33 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.168.4.1: +3 -3 lines
Diff to previous 1.168.4.1 (colored) to branchpoint 1.168 (colored) next main 1.169 (colored)

Sync with HEAD

Revision 1.170 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:25 2011 UTC (13 years ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase
Changes since 1.169: +3 -3 lines
Diff to previous 1.169 (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.168.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:33 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.168: +3 -41 lines
Diff to previous 1.168 (colored)

Sync with HEAD

Revision 1.169 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:09 2011 UTC (13 years ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.168: +3 -41 lines
Diff to previous 1.168 (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.164.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:04 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.164.2.1: +11 -0 lines
Diff to previous 1.164.2.1 (colored) to branchpoint 1.164 (colored) next main 1.165 (colored)

Sync with HEAD (-D20101022).

Revision 1.168 / (download) - annotate - [select for diffs], Sat Oct 16 17:10:42 2010 UTC (13 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.167: +13 -2 lines
Diff to previous 1.167 (colored)

Prepare empty module_init_md() for options MODULAR for all other m68k ports.

Revision 1.149.10.4 / (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.149.10.3: +39 -40 lines
Diff to previous 1.149.10.3 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored)

sync with head.

Revision 1.165.2.2 / (download) - annotate - [select for diffs], Sun May 30 05:16:39 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.165.2.1: +39 -40 lines
Diff to previous 1.165.2.1 (colored) to branchpoint 1.165 (colored)

sync with head

Revision 1.164.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.164: +39 -47 lines
Diff to previous 1.164 (colored)

Sync with HEAD.

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

Misc KNF.

Revision 1.166 / (download) - annotate - [select for diffs], Wed Mar 31 14:12:55 2010 UTC (13 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.165: +37 -38 lines
Diff to previous 1.165 (colored)

Misc KNF and cosmetics.

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:48 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.165: +33 -2 lines
Diff to previous 1.165 (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.149.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:08 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.149.10.2: +11 -17 lines
Diff to previous 1.149.10.2 (colored) to branchpoint 1.149 (colored)

sync with head

Revision 1.165 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:26 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.164: +2 -9 lines
Diff to previous 1.164 (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.164 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:49 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.163: +3 -3 lines
Diff to previous 1.163 (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.163 / (download) - annotate - [select for diffs], Mon Nov 23 00:11:43 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.162: +9 -8 lines
Diff to previous 1.162 (colored)

Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.162 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:42 2009 UTC (14 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.161: +3 -3 lines
Diff to previous 1.161 (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.149.10.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:36 2009 UTC (14 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.149.10.1: +3 -2 lines
Diff to previous 1.149.10.1 (colored) to branchpoint 1.149 (colored)

sync with head

Revision 1.161 / (download) - annotate - [select for diffs], Wed Aug 19 23:46:52 2009 UTC (14 years, 6 months ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.160: +3 -2 lines
Diff to previous 1.160 (colored)

Another needing <sys/exec_aout.h>.

Revision 1.158.2.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.158: +99 -91 lines
Diff to previous 1.158 (colored) next main 1.159 (colored)

Sync with HEAD.

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

Revision 1.149.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:10:46 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.149: +124 -110 lines
Diff to previous 1.149 (colored)

sync with head.

Revision 1.150.4.3 / (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.150.4.2: +98 -91 lines
Diff to previous 1.150.4.2 (colored) to branchpoint 1.150 (colored) next main 1.151 (colored)

Sync with HEAD.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Mar 5 13:42:59 2009 UTC (15 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.159: +98 -91 lines
Diff to previous 1.159 (colored)

Some KNF.

Revision 1.150.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:28:51 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.150.4.1: +7 -7 lines
Diff to previous 1.150.4.1 (colored) to branchpoint 1.150 (colored)

Sync with HEAD.

Revision 1.159 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:01 2009 UTC (15 years ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.158: +3 -2 lines
Diff to previous 1.158 (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.150.6.2 / (download) - annotate - [select for diffs], Mon Feb 2 03:30:32 2009 UTC (15 years, 1 month 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.150.6.1: +3 -3 lines
Diff to previous 1.150.6.1 (colored) to branchpoint 1.150 (colored) next main 1.151 (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.158 / (download) - annotate - [select for diffs], Sat Jan 24 02:01:01 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.157: +4 -5 lines
Diff to previous 1.157 (colored)

Use pmap_kenter_pa(9) to map msgbufpa as other m68k ports.
Tested on TT030 by David Ross and on Falcon by Tuomo Makinen on port-atari.

Revision 1.157 / (download) - annotate - [select for diffs], Wed Jan 21 16:24:34 2009 UTC (15 years, 1 month ago) by he
Branch: MAIN
Changes since 1.156: +4 -4 lines
Diff to previous 1.156 (colored)

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

Revision 1.150.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:00 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.150: +25 -10 lines
Diff to previous 1.150 (colored)

Sync with HEAD.

Revision 1.149.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:54 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.149.6.1: +23 -8 lines
Diff to previous 1.149.6.1 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored)

Sync with HEAD.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Jan 17 05:22:00 2009 UTC (15 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.155: +6 -6 lines
Diff to previous 1.155 (colored)

Use PRIu64 to print 64 bit dev_t (for now).

Revision 1.150.6.1 / (download) - annotate - [select for diffs], Thu Jan 8 22:19:14 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC1
Changes since 1.150: +15 -2 lines
Diff to previous 1.150 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #229):
	sys/arch/atari/atari/machdep.c: revision 1.155
Raise IPL to splsoftnet() before calling callback functions registered
via (atari specific) add_sicallback(), as a workaround hack.
Many drivers which use the MD sicallback depend on BASEPRI() macro
defined in <machine/cpu.h> to check nested interrupts,
but functions invoked from MI softint(9) won't run at IPL_SOFT
any longer and the BASEPRI() macro doesn't return expected value
as the past.
Fixes lost interrupt problem on Falcon wdc(4) reported by
Tuomo Makinen on port-atari, and also confirmed by him.
Should be pulled up to netbsd-5.

Revision 1.155 / (download) - annotate - [select for diffs], Sat Jan 3 06:36:58 2009 UTC (15 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.154: +15 -2 lines
Diff to previous 1.154 (colored)

Raise IPL to splsoftnet() before calling callback functions registered
via (atari specific) add_sicallback(), as a workaround hack.

Many drivers which use the MD sicallback depend on BASEPRI() macro
defined in <machine/cpu.h> to check nested interrupts,
but functions invoked from MI softint(9) won't run at IPL_SOFT
any longer and the BASEPRI() macro doesn't return expected value
as the past.

Fixes lost interrupt problem on Falcon wdc(4) reported by
Tuomo Makinen on port-atari, and also confirmed by him.

Should be pulled up to netbsd-5.

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

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

Revision 1.154 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:32 2008 UTC (15 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.153: +4 -4 lines
Diff to previous 1.153 (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.153 / (download) - annotate - [select for diffs], Tue Nov 25 15:51:34 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.152: +3 -3 lines
Diff to previous 1.152 (colored)

dumpsys: don't spew numbers into the log.

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

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

Proposed on tech-kern@.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:40 2008 UTC (15 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.150: +4 -2 lines
Diff to previous 1.150 (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.149.12.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:22 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.149.12.2: +2 -10 lines
Diff to previous 1.149.12.2 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.149.14.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:52 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.149: +2 -10 lines
Diff to previous 1.149 (colored) next main 1.150 (colored)

Sync with head.

Revision 1.149.6.1 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:15 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.149: +2 -10 lines
Diff to previous 1.149 (colored)

Sync with HEAD.

Revision 1.150 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:55 2008 UTC (15 years, 8 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, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.149: +2 -10 lines
Diff to previous 1.149 (colored)

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

Revision 1.149.12.2 / (download) - annotate - [select for diffs], Wed May 14 01:34:58 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.149.12.1: +2 -3 lines
Diff to previous 1.149.12.1 (colored) to branchpoint 1.149 (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.149.12.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:43 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.149: +3 -2 lines
Diff to previous 1.149 (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.145.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:56 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.145.10.2: +2 -34 lines
Diff to previous 1.145.10.2 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)

sync with HEAD

Revision 1.146.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:24 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.146.2.1: +34 -79 lines
Diff to previous 1.146.2.1 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored)

Sync with HEAD.

Revision 1.137.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:53 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.137.2.5: +34 -79 lines
Diff to previous 1.137.2.5 (colored) to branchpoint 1.137 (colored) next main 1.138 (colored)

sync with head

Revision 1.145.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:29 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.145.10.1: +41 -55 lines
Diff to previous 1.145.10.1 (colored) to branchpoint 1.145 (colored)

sync with HEAD

Revision 1.147.6.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:35 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.147: +34 -79 lines
Diff to previous 1.147 (colored) next main 1.148 (colored)

Sync with HEAD

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jan 8 18:04:15 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.148: +2 -34 lines
Diff to previous 1.148 (colored)

Convert Atari to generic TODR and timecounter.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Jan 3 00:31:28 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.147: +36 -49 lines
Diff to previous 1.147 (colored)

ANSIfy.

Revision 1.145.8.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:34:42 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.145: +7 -8 lines
Diff to previous 1.145 (colored) next main 1.146 (colored)

Sync with HEAD.

Revision 1.146.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:42 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.146: +7 -8 lines
Diff to previous 1.146 (colored)

Sync with HEAD.

Revision 1.137.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:24:21 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.137.2.4: +7 -8 lines
Diff to previous 1.137.2.4 (colored) to branchpoint 1.137 (colored)

sync with head

Revision 1.143.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:35:10 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.143.2.2: +7 -8 lines
Diff to previous 1.143.2.2 (colored) next main 1.144 (colored)

Sync with HEAD.

Revision 1.147 / (download) - annotate - [select for diffs], Mon Dec 3 15:33:22 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.146: +7 -8 lines
Diff to previous 1.146 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.145.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:15:17 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

sync with HEAD

Revision 1.146 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:45 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.137.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:32 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.137.2.3: +29 -53 lines
Diff to previous 1.137.2.3 (colored) to branchpoint 1.137 (colored)

sync with head.

Revision 1.143.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:58:16 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.143: +25 -49 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

Sync with head.

Revision 1.143.2.2 / (download) - annotate - [select for diffs], Sun May 27 12:27:11 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.143.2.1: +3 -3 lines
Diff to previous 1.143.2.1 (colored)

Sync with head.

Revision 1.144.4.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:42 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.144: +3 -3 lines
Diff to previous 1.144 (colored) next main 1.145 (colored)

Update to HEAD.

Revision 1.145 / (download) - annotate - [select for diffs], Mon May 21 15:22:21 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Changes since 1.144: +3 -3 lines
Diff to previous 1.144 (colored)

curlwp can't be NULL so no need to check it.

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:22:52 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.143: +24 -48 lines
Diff to previous 1.143 (colored)

Sync with head.

Revision 1.143.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:24 2007 UTC (16 years, 11 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.143: +24 -48 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

Pullup to -current

Revision 1.141.2.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:54:34 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.141.2.2: +24 -48 lines
Diff to previous 1.141.2.2 (colored) to branchpoint 1.141 (colored) next main 1.142 (colored)

sync with head.

Revision 1.144 / (download) - annotate - [select for diffs], Wed Mar 21 10:56:26 2007 UTC (16 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Branch point for: ppcoea-renovation
Changes since 1.143: +24 -48 lines
Diff to previous 1.143 (colored)

Apply MI softintr(9) patch before it becomes rotten. Untested.
See also:
http://mail-index.netbsd.org/port-atari/2007/03/07/0000.html

Revision 1.141.2.2 / (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.141.2.1: +6 -6 lines
Diff to previous 1.141.2.1 (colored) to branchpoint 1.141 (colored)

Sync with HEAD.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:39 2007 UTC (17 years ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.142: +6 -6 lines
Diff to previous 1.142 (colored)

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

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:49:50 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.141: +5 -5 lines
Diff to previous 1.141 (colored)

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

Revision 1.137.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:07 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.137.2.2: +5 -6 lines
Diff to previous 1.137.2.2 (colored) to branchpoint 1.137 (colored)

sync with head.

Revision 1.142 / (download) - annotate - [select for diffs], Thu Feb 22 05:15:14 2007 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.141: +5 -5 lines
Diff to previous 1.141 (colored)

TRUE -> true, FALSE -> false

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

Merge newlock2 to head.

Revision 1.139.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:33 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.139.20.1: +2 -3 lines
Diff to previous 1.139.20.1 (colored) to branchpoint 1.139 (colored) next main 1.140 (colored)

Remove support for SA. Ok core@.

Revision 1.137.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:38 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.137.2.1: +7 -3 lines
Diff to previous 1.137.2.1 (colored) to branchpoint 1.137 (colored)

sync with head.

Revision 1.139.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:07 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.139: +7 -3 lines
Diff to previous 1.139 (colored)

Sync with head.

Revision 1.139.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:35 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.139: +7 -3 lines
Diff to previous 1.139 (colored) next main 1.140 (colored)

sync with head

Revision 1.140 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:31 2006 UTC (17 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.139: +7 -3 lines
Diff to previous 1.139 (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.137.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.137: +7 -7 lines
Diff to previous 1.137 (colored)

sync with head.

Revision 1.139 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:34 2005 UTC (18 years, 2 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.138: +4 -4 lines
Diff to previous 1.138 (colored)

bare asm -> __asm

Revision 1.138 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:54 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.137: +5 -5 lines
Diff to previous 1.137 (colored)

merge ktrace-lwp.

Revision 1.127.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:27 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.127.2.5: +4 -4 lines
Diff to previous 1.127.2.5 (colored) next main 1.128 (colored)

Sync with HEAD. Here we go again...

Revision 1.137 / (download) - annotate - [select for diffs], Sat Jun 4 14:42:36 2005 UTC (18 years, 9 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.136: +3 -3 lines
Diff to previous 1.136 (colored)

Adapt to compiling with -Wshadow and -Wcast-qual, by adding const
qualification in places and renaming a few local variables.
Also adds a couple uses of __UNVOLATILE() to allow passing volatile
variables to functions wanting e.g. caddr_t.

Revision 1.134.8.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.134: +3 -24 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

sync with -current

Revision 1.136 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:03 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (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.127.2.5 / (download) - annotate - [select for diffs], Tue Feb 15 21:32:32 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.127.2.4: +2 -23 lines
Diff to previous 1.127.2.4 (colored)

Sync with HEAD.

Revision 1.134.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:30 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.134: +2 -23 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

sync with head.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Feb 11 15:03:55 2005 UTC (19 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, 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.134: +2 -23 lines
Diff to previous 1.134 (colored)

remove uvm_map_protect from cpu_startup of several ports.
- they shouldn't be needed with the current fault handler.
- they causes assertion failure with the recent vm_map implementation.

discussed on tech-kern@.  reviewed by Chuck Silvers.
PR/29179 from Julio M. Merino Vidal.

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

Fix the sync with head I botched.

Revision 1.127.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.127.2.2: +4 -4 lines
Diff to previous 1.127.2.2 (colored)

Sync with HEAD.

Revision 1.127.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:33:09 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.127.2.1: +55 -94 lines
Diff to previous 1.127.2.1 (colored)

Sync with HEAD

Revision 1.134 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:47 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base, 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: yamt-km, kent-audio2
Changes since 1.133: +6 -4 lines
Diff to previous 1.133 (colored)

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

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

Uppercase CPU, plural is CPUs.

Revision 1.132 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:15 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.131: +3 -65 lines
Diff to previous 1.131 (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.131 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:21 2003 UTC (20 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.130: +12 -28 lines
Diff to previous 1.130 (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.130 / (download) - annotate - [select for diffs], Sat Sep 27 20:01:58 2003 UTC (20 years, 5 months ago) by cl
Branch: MAIN
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

Cast through (void *) to appease gcc3.

Revision 1.129 / (download) - annotate - [select for diffs], Thu Aug 7 16:26:56 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.128: +37 -3 lines
Diff to previous 1.128 (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.128 / (download) - annotate - [select for diffs], Tue Jul 15 01:19:44 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.127: +4 -1 lines
Diff to previous 1.127 (colored)

__KERNEL_RCSID()

Revision 1.127.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:17 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.127: +4 -4 lines
Diff to previous 1.127 (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.127 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:13 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.126: +3 -3 lines
Diff to previous 1.126 (colored)

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

Revision 1.126 / (download) - annotate - [select for diffs], Sat Jun 28 14:20:49 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 (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.125 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:10 2003 UTC (20 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.124: +2 -1 lines
Diff to previous 1.124 (colored)

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

Revision 1.124 / (download) - annotate - [select for diffs], Sat May 10 21:10:28 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.123: +21 -0 lines
Diff to previous 1.123 (colored)

Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.

Revision 1.123 / (download) - annotate - [select for diffs], Thu May 8 18:13:14 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.122: +1 -22 lines
Diff to previous 1.122 (colored)

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).

Revision 1.122 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:08 2003 UTC (20 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.121: +9 -4 lines
Diff to previous 1.121 (colored)

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

Revision 1.121 / (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.120: +13 -13 lines
Diff to previous 1.120 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jan 17 22:34:23 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.119: +13 -9 lines
Diff to previous 1.119 (colored)

Merge the nathanw_sa branch.

Revision 1.112.4.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:35:46 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.112.4.10: +1 -3 lines
Diff to previous 1.112.4.10 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Catch up to -current.

Revision 1.110.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:31:57 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.5: +16 -10 lines
Diff to previous 1.110.2.5 (colored) next main 1.111 (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.119 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:05 2002 UTC (21 years, 5 months ago) by thorpej
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, fvdl_fs64_base
Changes since 1.118: +1 -2 lines
Diff to previous 1.118 (colored)

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

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

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

Revision 1.112.4.10 / (download) - annotate - [select for diffs], Tue Sep 17 21:13:38 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.9: +16 -8 lines
Diff to previous 1.112.4.9 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
Changes since 1.116: +16 -8 lines
Diff to previous 1.116 (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.110.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:33:16 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.4: +3 -4 lines
Diff to previous 1.110.2.4 (colored)

sync kqueue branch with HEAD

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:22 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.115.2.1: +3 -4 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

catch up with -current.

Revision 1.112.4.9 / (download) - annotate - [select for diffs], Tue Aug 27 23:44:25 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.8: +3 -4 lines
Diff to previous 1.112.4.8 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

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

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

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

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

Revision 1.112.4.7 / (download) - annotate - [select for diffs], Mon Jun 24 22:04:04 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.6: +4 -4 lines
Diff to previous 1.112.4.6 (colored) to branchpoint 1.112 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.110.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:35:12 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.3: +3 -3 lines
Diff to previous 1.110.2.3 (colored)

catch up with -current on kqueue branch

Revision 1.112.4.6 / (download) - annotate - [select for diffs], Wed May 29 21:31:38 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.5: +2 -1 lines
Diff to previous 1.112.4.5 (colored) to branchpoint 1.112 (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.115.2.1 / (download) - annotate - [select for diffs], Fri May 17 13:49:51 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.115: +16 -8 lines
Diff to previous 1.115 (colored)

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

Revision 1.112.4.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:37 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.4: +2 -1 lines
Diff to previous 1.112.4.4 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Apr 9 13:04:43 2002 UTC (21 years, 10 months ago) by leo
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
Branch point for: gehenna-devsw
Changes since 1.114: +2 -1 lines
Diff to previous 1.114 (colored)

Pull in prototype for setregs()

Revision 1.112.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:31 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.3: +3 -4 lines
Diff to previous 1.112.4.3 (colored) to branchpoint 1.112 (colored)

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

Revision 1.114 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:22 2002 UTC (21 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.113: +2 -3 lines
Diff to previous 1.113 (colored)

kill remaining PS_STRINGS instances.

Revision 1.110.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:56:50 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.2: +2 -2 lines
Diff to previous 1.110.2.2 (colored)

Catch up with -current.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:19 2002 UTC (22 years ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (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.112.4.3 / (download) - annotate - [select for diffs], Sun Dec 2 12:30:31 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.112.4.2: +4 -1 lines
Diff to previous 1.112.4.2 (colored) to branchpoint 1.112 (colored)

If an FPU is available, call m68k_make_fpu_idle_frame() to generate
a reference FPU idle frame.

Revision 1.112.4.2 / (download) - annotate - [select for diffs], Sat Nov 17 23:18:04 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.112.4.1: +1002 -0 lines
Diff to previous 1.112.4.1 (colored) to branchpoint 1.112 (colored)

MD Scheduler Activation bits for Atari.
Compile-tested only.

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

Catch up with -current.

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

Update the kqueue branch to HEAD.

Revision 1.112.4.1, Mon Sep 10 21:19:11 2001 UTC (22 years, 5 months ago) by scw
Branch: nathanw_sa
Changes since 1.112: +0 -1001 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-17 23:18:04 +0000

Revision 1.112 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:11 2001 UTC (22 years, 5 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, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (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.110.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:16 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.110: +3 -4 lines
Diff to previous 1.110 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Aug 24 04:34:25 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.110: +3 -4 lines
Diff to previous 1.110 (colored)

use pmap_k* for buffer cache pages.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:20:07 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.106.2.1: +30 -4 lines
Diff to previous 1.106.2.1 (colored) next main 1.107 (colored)

Catch up to -current.

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

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

Revision 1.109 / (download) - annotate - [select for diffs], Tue May 15 13:57:43 2001 UTC (22 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.108: +24 -0 lines
Diff to previous 1.108 (colored)

Add an NMI handler for the Milan.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Apr 24 04:30:55 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.107: +3 -1 lines
Diff to previous 1.107 (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.106.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:51:46 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.106: +4 -5 lines
Diff to previous 1.106 (colored)

Catch up with -current.

Revision 1.86.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:30:35 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.86.2.3: +4 -5 lines
Diff to previous 1.86.2.3 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:37 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.106: +4 -5 lines
Diff to previous 1.106 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.86.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:09:07 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.86.2.2: +11 -2 lines
Diff to previous 1.86.2.2 (colored) to branchpoint 1.86 (colored)

Sync with HEAD.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Feb 9 21:47:46 2001 UTC (23 years ago) by leo
Branch: MAIN
Changes since 1.105: +11 -2 lines
Diff to previous 1.105 (colored)

Prepare assembly parts for an eventual transition to ELF. Mostly from a
diff from Steve Woodford.

Revision 1.86.2.2 / (download) - annotate - [select for diffs], Thu Jan 18 09:22:23 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.86.2.1: +9 -4 lines
Diff to previous 1.86.2.1 (colored) to branchpoint 1.86 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jan 15 20:19:53 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.104 / (download) - annotate - [select for diffs], Sun Jan 7 21:12:31 2001 UTC (23 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.103: +4 -1 lines
Diff to previous 1.103 (colored)

Expand identify_cpu() for the Milan.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jan 7 20:59:29 2001 UTC (23 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Update the printf format in straymfpint() too.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Jan 7 20:56:51 2001 UTC (23 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

Fixes for straytrap():
	- make it clear that we are printing hex-numbers
        - fix the loop protection.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:05:23 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.86: +42 -116 lines
Diff to previous 1.86 (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.101 / (download) - annotate - [select for diffs], Thu Sep 28 07:26:48 2000 UTC (23 years, 5 months ago) by leo
Branch: MAIN
Changes since 1.100: +8 -2 lines
Diff to previous 1.100 (colored)

Move config_console() out of the grf-layer. This allows for more than just
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).

Revision 1.100 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:17 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Jul 2 05:43:43 2000 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.98: +3 -1 lines
Diff to previous 1.98 (colored)

undef PS after inclusion of net/netisr.h to avoid conflict w/ machine/reg.h

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jul 2 04:40:35 2000 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.97: +1 -37 lines
Diff to previous 1.97 (colored)

Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.

Revision 1.97 / (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.96: +2 -3 lines
Diff to previous 1.96 (colored)

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

Revision 1.96 / (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.95: +1 -2 lines
Diff to previous 1.95 (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.94.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:59:35 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Jun 5 23:44:57 2000 UTC (23 years, 9 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base, 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, netbsd-1-5
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Do not clear msgbufenabled in dumpsys().  Dump messages will now go to
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)

Revision 1.94 / (download) - annotate - [select for diffs], Fri May 26 21:19:33 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.93: +4 -1 lines
Diff to previous 1.93 (colored)

First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:25 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.92: +1 -3 lines
Diff to previous 1.92 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Feb 21 20:38:47 2000 UTC (24 years ago) by erh
Branch: MAIN
Changes since 1.91: +11 -55 lines
Diff to previous 1.91 (colored)

Define the DONETISR macro and use netisr_dispatch.h.  This is to cut down on code duplication and to standardize the available NETISRs across all ports.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:33 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.90: +1 -8 lines
Diff to previous 1.90 (colored)

Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Jan 19 02:52:22 2000 UTC (24 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

check whether tv_usec >= 1000000

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:47 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.86: +16 -10 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Pull up to last week's -current.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Dec 4 21:20:13 1999 UTC (24 years, 3 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.88: +7 -7 lines
Diff to previous 1.88 (colored)

CL* discarding.

Revision 1.79.2.1.4.2 / (download) - annotate - [select for diffs], Tue Nov 30 13:32:00 1999 UTC (24 years, 3 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.79.2.1.4.1: +0 -0 lines
Diff to previous 1.79.2.1.4.1 (colored) to branchpoint 1.79.2.1 (colored) next main 1.80 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:37:25 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.86: +10 -4 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with -current

Revision 1.88 / (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.87: +4 -4 lines
Diff to previous 1.87 (colored)

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

Revision 1.87 / (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.86: +7 -1 lines
Diff to previous 1.86 (colored)

Use extent maps.

Revision 1.79.2.1.2.3 / (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.79.2.1.2.2: +14 -13 lines
Diff to previous 1.79.2.1.2.2 (colored) to branchpoint 1.79.2.1 (colored) next main 1.80 (colored)

Update from trunk.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jul 22 09:20:38 1999 UTC (24 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.85: +14 -13 lines
Diff to previous 1.85 (colored)

Do the mesgbuf initialisation a bit earlier in the boot process. This
makes debugging the console somewhat easier.

Revision 1.79.2.1.2.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:03:48 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.79.2.1.2.1: +10 -1 lines
Diff to previous 1.79.2.1.2.1 (colored) to branchpoint 1.79.2.1 (colored)

Sync w/ -current.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jun 28 08:20:43 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.84: +10 -1 lines
Diff to previous 1.84 (colored)

- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.

Revision 1.79.2.1.4.1 / (download) - annotate - [select for diffs], Mon Jun 28 06:36:47 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990705, kame_14_19990628
Changes since 1.79.2.1: +10 -1 lines
Diff to previous 1.79.2.1 (colored)

KAME/NetBSD 1.4 SNAP kit, dated 19990628.

NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.

Revision 1.79.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:48:34 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.79.2.1: +20 -132 lines
Diff to previous 1.79.2.1 (colored)

Sync w/ -current.

Revision 1.84 / (download) - annotate - [select for diffs], Wed May 26 19:16:30 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +5 -4 lines
Diff to previous 1.83 (colored)

Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.83 / (download) - annotate - [select for diffs], Wed May 26 14:29:34 1999 UTC (24 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.82: +6 -7 lines
Diff to previous 1.82 (colored)

Make this compile again. I assumed that the use of 'format_memory()' was
an error? Made it use format_bytes()....

Revision 1.82 / (download) - annotate - [select for diffs], Thu May 20 08:21:43 1999 UTC (24 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.81: +14 -126 lines
Diff to previous 1.81 (colored)

* convert to using MI allocsys(). most ports were using an MD allocsys(),
  although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes

Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 26 22:46:45 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Garbage-collect the VM_MBUF_SIZE constant.  Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Fri Apr 16 16:16:05 1999 UTC (24 years, 10 months ago) by chs
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Branch point for: kame, chs-ubc2
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

pull up 1.79 -> 1.80:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:06 1999 UTC (24 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:46 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.78: +1 -6 lines
Diff to previous 1.78 (colored)

Don't call configure() from cpu_startup().

Revision 1.78 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:28 1999 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.77: +5 -3 lines
Diff to previous 1.77 (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.77 / (download) - annotate - [select for diffs], Wed Mar 24 05:50:58 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.76: +1 -84 lines
Diff to previous 1.76 (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.76 / (download) - annotate - [select for diffs], Sat Feb 27 06:39:35 1999 UTC (25 years ago) by scottr
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored)

defopt BUFCACHE and BUFPAGES.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Jan 9 22:10:16 1999 UTC (25 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Garbage-collect `mbutl'.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 24 15:07:33 1998 UTC (25 years, 3 months ago) by leo
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.73: +35 -12 lines
Diff to previous 1.73 (colored)

Implement BUFCACHE option as suggested by lukem.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Nov 24 15:05:53 1998 UTC (25 years, 3 months ago) by leo
Branch: MAIN
Changes since 1.72: +4 -1 lines
Diff to previous 1.72 (colored)

Make compile with -DDEBUG

Revision 1.72 / (download) - annotate - [select for diffs], Tue Nov 24 15:03:31 1998 UTC (25 years, 3 months ago) by leo
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

Pull-in device.h for configure() prototype.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Oct 19 22:09:15 1998 UTC (25 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

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

Get rid of vm_offset_t/vm_size_t

Revision 1.69 / (download) - annotate - [select for diffs], Tue Aug 11 12:22:57 1998 UTC (25 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.68: +20 -1 lines
Diff to previous 1.68 (colored)

Add CCITT & NATM interrupt handlers. (Jonathan Stone).

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:38 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 5 06:49:04 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

defopt NS, NSIP.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 5 04:37:36 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored)

defopt ISO TPIP.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jul 5 00:51:08 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored)

defopt INET, NETATALK.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:21 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

defopt DDB.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jun 9 01:57:42 1998 UTC (25 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.62: +7 -2 lines
Diff to previous 1.62 (colored)

Change ddb_init() for a.out to provision for kernels which are not booted by
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.

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

Add UVM option.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Fri May 8 05:12:42 1998 UTC (25 years, 10 months ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Changes since 1.54.2.1: +3 -1 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Pull up patch from leo.

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 7 07:25:51 1998 UTC (25 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.60: +10 -13 lines
Diff to previous 1.60 (colored)

Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Mar 13 21:05:10 1998 UTC (25 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.59: +1 -667 lines
Diff to previous 1.59 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 10 11:42:53 1998 UTC (25 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.58: +600 -4 lines
Diff to previous 1.58 (colored)

Bus-dma implementation for the atari. Heavily based on the i386
implementation.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 19 04:18:31 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Disable the message buffer during crash dumps by clearing msgbufenabled,
not msgbufmapped.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 24 16:46:31 1998 UTC (26 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.56: +7 -3 lines
Diff to previous 1.56 (colored)

When dumping, print out the device number as major,minor.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Dec 4 15:33:23 1997 UTC (26 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.55: +1 -7 lines
Diff to previous 1.55 (colored)

Standardize COMPAT_SUNOS -- remove all references to
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Thu Oct 23 00:21:42 1997 UTC (26 years, 4 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Pull version 1.55 up from trunk

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 22 08:04:07 1997 UTC (26 years, 4 months ago) by leo
Branch: MAIN
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Make this compile again by including <vm/vm.h> and moving sysctl.h below
that include.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Mon Sep 22 06:30:48 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.50.2.1: +7 -6 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 19 13:53:34 1997 UTC (26 years, 5 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.53: +7 -6 lines
Diff to previous 1.53 (colored)

Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:48:17 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.50: +19 -8 lines
Diff to previous 1.50 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 12 10:29:22 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored)

Set the status word as well, and remove a bogus comment.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 12 07:00:34 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.51: +17 -4 lines
Diff to previous 1.51 (colored)

Always initialize all registers in setregs().

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 11 23:01:55 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (colored)

Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jul 15 06:49:56 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.49: +14 -1 lines
Diff to previous 1.49 (colored)

Implement bus_space_subregion()

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 12 15:46:28 1997 UTC (26 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

bring mrg-vm-swap2 onto mainilne.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jun 10 18:43:46 1997 UTC (26 years, 8 months ago) by veego
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 8 23:54:22 1997 UTC (26 years, 9 months ago) by veego
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Initialize machine from MACHINE.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 4 15:18:47 1997 UTC (26 years, 10 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.46: +1 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

re-merge mrg-vm-swap into -current, and call it mrg-vm-swap2.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Apr 9 19:40:20 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap2-base
Branch point for: mrg-vm-swap2
Changes since 1.45: +1 -92 lines
Diff to previous 1.45 (colored)

Garbage-collect regdump() and friends.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 6 12:39:41 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.44: +5 -3 lines
Diff to previous 1.44 (colored)

Calculate dumpsize correctly (in pages).

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 2 21:54:17 1997 UTC (26 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.43: +10 -1 lines
Diff to previous 1.43 (colored)

Add netatalk netisr

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 27 21:01:27 1997 UTC (26 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +2 -6 lines
Diff to previous 1.42 (colored)

Don't allocate mclrefcnt[]; it's dead and gone.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 26 22:42:33 1997 UTC (26 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.41: +9 -9 lines
Diff to previous 1.41 (colored)

Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 26 15:46:12 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.40: +2 -313 lines
Diff to previous 1.40 (colored)

Use m68k/sig_machdep.c

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 26 15:44:03 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

Add missing 'break'.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Mar 15 18:09:43 1997 UTC (26 years, 11 months ago) by is
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 14:46:40 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.37: +21 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Merge in Changes from The Trunk.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Mar 10 14:44:27 1997 UTC (26 years, 11 months ago) by leo
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.37: +21 -5 lines
Diff to previous 1.37 (colored)

Push out some 060 support. It's all untested and mostly copied in from the
amiga-port.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 12:47:02 1997 UTC (27 years ago) by mrg
Branch: mrg-vm-swap
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

don't allocate swap map in allocsys.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Jan 30 05:34:59 1997 UTC (27 years, 1 month ago) by thorpej
Branch: thorpej-setroot
Changes since 1.35: +18 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

update from trunk

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 27 07:53:29 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
CVS Tags: is-newarp-base
Branch point for: mrg-vm-swap, is-newarp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Use bus_space_tag when calculating the physical address.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 21 20:37:05 1997 UTC (27 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.35: +16 -3 lines
Diff to previous 1.35 (colored)

Add a 'size' argument to badbaddr(). This is very useful on busses that
only accept certain size accesses on a specific address range. Like the
VME bus.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Dec 14 13:52:01 1996 UTC (27 years, 2 months ago) by leo
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.34: +1 -8 lines
Diff to previous 1.34 (colored)

Remove some code accidently checked in on previous commit.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 8 14:21:02 1996 UTC (27 years, 3 months ago) by leo
Branch: MAIN
Changes since 1.33: +17 -10 lines
Diff to previous 1.33 (colored)

Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 6 13:53:35 1996 UTC (27 years, 4 months ago) by leo
Branch: MAIN
Changes since 1.32: +54 -1 lines
Diff to previous 1.32 (colored)

Add  bus_mem_(un)map functions.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Oct 25 19:58:43 1996 UTC (27 years, 4 months ago) by leo
Branch: MAIN
Changes since 1.31: +26 -4 lines
Diff to previous 1.31 (colored)

db_memrw.c:
 - Sync with hp300 version.

Machdep.c:
 - Notify the vm-system that kernel-text is read/execute
 - Notify the vm-system that page zero isn't mapped

[ Grrr.. How do you cancel a check-in when you find out too late they
  should have different comments ]

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 13 04:10:39 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.30: +50 -50 lines
Diff to previous 1.30 (colored)

backout previous kprintf changes

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 11 00:08:57 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.29: +50 -50 lines
Diff to previous 1.29 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 25 15:03:20 1996 UTC (27 years, 5 months ago) by leo
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored)

Catchup with -current:
  - Extra argument to boot()
  - select -> poll

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 23 11:11:51 1996 UTC (27 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.27: +14 -5 lines
Diff to previous 1.27 (colored)

Recognize the Hades as a valid machine type.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 23 11:08:06 1996 UTC (27 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

- Make it compile & work for the 68040
- Map the various I/O areas just below Sysmap
- Cleanup a bit
- Fix machine-type detection to recognize the Hades.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 9 10:30:23 1996 UTC (27 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 12 13:16:31 1996 UTC (27 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.24: +19 -14 lines
Diff to previous 1.24 (colored)

Sync with atari_init cleanup

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sun Jun 30 20:09:04 1996 UTC (27 years, 8 months ago) by jtc
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pulled up rev 1.24 by request from Leo Weppelman

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 29 20:24:25 1996 UTC (27 years, 8 months ago) by leo
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored)

Remove references to kern_extern.h

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 26 06:59:27 1996 UTC (27 years, 10 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.22: +8 -1 lines
Diff to previous 1.22 (colored)

Corrections for removed <sys/cpu.h> and some more prototypes.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 18 08:51:15 1996 UTC (27 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.21: +40 -19 lines
Diff to previous 1.21 (colored)

Yet more prototyping and -Wall fixes.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 27 10:16:04 1996 UTC (27 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Allow call-back functions to drop to spl0().

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 10 21:54:46 1996 UTC (27 years, 11 months ago) by leo
Branch: MAIN
Changes since 1.19: +11 -2 lines
Diff to previous 1.19 (colored)

Add the include files and the atari kernel support for new format panic
dumps.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 22 10:10:51 1996 UTC (28 years ago) by leo
Branch: MAIN
Changes since 1.18: +25 -41 lines
Diff to previous 1.18 (colored)

First bunch of changes due to stricter prototype checking.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 4 22:21:47 1996 UTC (28 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 25 14:09:13 1995 UTC (28 years, 2 months ago) by leo
Branch: MAIN
Changes since 1.16: +11 -3 lines
Diff to previous 1.16 (colored)

Add doshutdownhooks

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 7 06:25:28 1995 UTC (28 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 19 23:08:09 1995 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +6 -5 lines
Diff to previous 1.14 (colored)

Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 1 20:06:35 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

SA_ONSTACK --> SS_ONSTACK

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 28 20:07:04 1995 UTC (28 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Fix typo in previous commit

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 28 19:31:07 1995 UTC (28 years, 6 months ago) by leo
Branch: MAIN
Changes since 1.11: +11 -29 lines
Diff to previous 1.11 (colored)

Detect type and precence of an FPU in the kernel instead of relying on GEM.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 13 21:36:09 1995 UTC (28 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.10: +10 -1 lines
Diff to previous 1.10 (colored)

Add pppintr() to netintr().

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 11 18:25:04 1995 UTC (28 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.9: +86 -8 lines
Diff to previous 1.9 (colored)

Dumping works, now if there were tools to handle it...

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 28 19:31:50 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.8: +8 -12 lines
Diff to previous 1.8 (colored)

Remove FPCOPROC use fputype instead.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 21 13:55:16 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Set A2 to PS_STRINGS.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 14 15:23:30 1995 UTC (28 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.6: +36 -20 lines
Diff to previous 1.6 (colored)

- Remove double mapping of stack
- Change to new coredump format

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 10 07:07:30 1995 UTC (28 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.5: +11 -30 lines
Diff to previous 1.5 (colored)

Print proper machine type at startup. Use 'vfs_shutdown' to sync the
disks.

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 5 16:35:25 1995 UTC (28 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.4: +38 -11 lines
Diff to previous 1.4 (colored)

Report "real mem" correctly and make one single module for handling
software interrupts.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 27 20:34:13 1995 UTC (28 years, 10 months ago) by leo
Branch: MAIN
Changes since 1.3: +0 -8 lines
Diff to previous 1.3 (colored)

Removed cpuspeed

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 22 20:25:15 1995 UTC (28 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.2: +4 -198 lines
Diff to previous 1.2 (colored)

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 10 13:09:06 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 26 07:12:19 1995 UTC (28 years, 11 months ago) by leo
Branch: Leo
CVS Tags: Leo-initial-950326
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

NetBSD/Atari, port by Leo Weppelman.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 26 07:12:19 1995 UTC (28 years, 11 months ago) by leo
Branch: MAIN

Initial revision

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>