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


Keyword substitution: kv
Default branch: MAIN


Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Mar 5 14:15:29 2024 UTC (9 months, 1 week ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +2 -10 lines
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Tue Feb 13 21:39:02 2024 UTC (9 months, 4 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +3 -3 lines
s/enqueing/enqueuing/ in debug messages (took a bait from recent Nick's commit)
s/occaision/occasion/ in comment.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Thu Dec 7 16:56:09 2023 UTC (12 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +2 -7 lines
extent(9) -> vmem(9)

Revision 1.188: download - view: text, markup, annotated - select for diffs
Sun Jul 3 16:03:08 2022 UTC (2 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 2 08:35:49 2022 UTC (2 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +7 -7 lines
Use and print consistent CPU/MMU/FPU names.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Sun Mar 13 17:50:55 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +3 -3 lines
s/hander/handler/ and s/hader/header/ in comments and documentation.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Sat Oct 9 20:00:41 2021 UTC (3 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:19 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183: +4 -4 lines
Sync with HEAD.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Sun Jan 3 17:42:10 2021 UTC (3 years, 11 months ago) by thorpej
Branches: 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
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -4 lines
malloc(9) -> kmem(9)

Revision 1.183: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:43 2020 UTC (4 years, 6 months ago) by ad
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:39 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.177.30.1: preferred, colored; branchpoint 1.177: preferred, colored; next MAIN 1.178: preferred, colored
Changes since revision 1.177.30.1: +12 -25 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.177.30.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:31 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.182: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:09 2019 UTC (4 years, 11 months ago) by ad
Branches: 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
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

Revision 1.181: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:21 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +3 -3 lines
uvmexp.free -> uvm_free()

Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Jun 29 03:22:52 2019 UTC (5 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +2 -11 lines
Remove obsolete stuff.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Sat Jun 29 03:19:49 2019 UTC (5 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +10 -13 lines
Fix PR/54325 (use of dangling pointer).

Revision 1.178: download - view: text, markup, annotated - select for diffs
Sat Jun 29 03:10:51 2019 UTC (5 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +6 -7 lines
TAB/space cleanup.

Revision 1.177.20.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:32 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.177: preferred, colored; next MAIN 1.178: preferred, colored
Changes since revision 1.177: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 20 23:50:54 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.177: preferred, colored; next MAIN 1.178: preferred, colored
Changes since revision 1.177: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:48 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +7 -11 lines
Rebase to HEAD as of a few days ago.

Revision 1.172.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:34 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.172.2.2: preferred, colored; branchpoint 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172.2.2: +7 -11 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:44:59 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +7 -11 lines
sync with head

Revision 1.177: download - view: text, markup, annotated - select for diffs
Wed Mar 26 18:04:33 2014 UTC (10 years, 8 months ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3 lines
kill sprintf

Revision 1.176: download - view: text, markup, annotated - select for diffs
Mon Mar 24 18:39:57 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +6 -10 lines
- remove unused
- use cpu_{g,s}etmodel() (not committed yet)

Revision 1.172.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:12 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.172.2.1: preferred, colored; branchpoint 1.172: preferred, colored
Changes since revision 1.172.2.1: +2 -8 lines
sync with head

Revision 1.175: download - view: text, markup, annotated - select for diffs
Fri Aug 10 17:43:32 2012 UTC (12 years, 4 months ago) by tsutsui
Branches: 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
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 27 05:36:10 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +2 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:08 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -10 lines
sync with head

Revision 1.172.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:36 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172: +4 -10 lines
merge to -current.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon Dec 12 19:03:08 2011 UTC (13 years ago) by mrg
Branches: 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
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -10 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:01 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171: +33 -2 lines
Catchup with rmind-uvmplock merge.

Revision 1.172: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:39 2011 UTC (13 years, 6 months ago) by rmind
Branches: 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
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +33 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:07 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168: +3 -75 lines
Sync with HEAD.

Revision 1.165.2.4: download - view: text, markup, annotated - select for diffs
Tue May 31 03:03:56 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.165.2.3: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.2.3: +0 -34 lines
sync with head

Revision 1.171: download - view: text, markup, annotated - select for diffs
Mon May 16 13:22:52 2011 UTC (13 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -36 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:40 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.165.2.2: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.2.2: +15 -42 lines
sync with head

Revision 1.168.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:33 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.168.4.1: preferred, colored; branchpoint 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168.4.1: +3 -3 lines
Sync with HEAD

Revision 1.170: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:25:25 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:33 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -41 lines
Sync with HEAD

Revision 1.169: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:09 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -41 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:04 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.164.2.1: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.2.1: +11 -0 lines
Sync with HEAD (-D20101022).

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sat Oct 16 17:10:42 2010 UTC (14 years, 1 month ago) by tsutsui
Branches: 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
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +13 -2 lines
Prepare empty module_init_md() for options MODULAR for all other m68k ports.

Revision 1.149.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:43 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.149.10.3: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.10.3: +39 -40 lines
sync with head.

Revision 1.165.2.2: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:39 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.165.2.1: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.2.1: +39 -40 lines
sync with head

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:09 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +39 -47 lines
Sync with HEAD.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Tue Apr 13 11:22:22 2010 UTC (14 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +4 -4 lines
Misc KNF.

Revision 1.166: download - view: text, markup, annotated - select for diffs
Wed Mar 31 14:12:55 2010 UTC (14 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +37 -38 lines
Misc KNF and cosmetics.

Revision 1.165.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 18 04:36:48 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +33 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:08 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.149.10.2: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.10.2: +11 -17 lines
sync with head

Revision 1.165: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:26 2010 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -9 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 10 14:13:49 2009 UTC (15 years ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 23 00:11:43 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +9 -8 lines
Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:42 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:36 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.149.10.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.10.1: +3 -2 lines
sync with head

Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Aug 19 23:46:52 2009 UTC (15 years, 3 months ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -2 lines
Another needing <sys/exec_aout.h>.

Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:21 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +99 -91 lines
Sync with HEAD.

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

Revision 1.149.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:46 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +124 -110 lines
sync with head.

Revision 1.150.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:46 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.150.4.2: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.4.2: +98 -91 lines
Sync with HEAD.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Thu Mar 5 13:42:59 2009 UTC (15 years, 9 months ago) by tsutsui
Branches: 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
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +98 -91 lines
Some KNF.

Revision 1.150.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:28:51 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.150.4.1: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.1: +7 -7 lines
Sync with HEAD.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:01 2009 UTC (15 years, 10 months ago) by apb
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 2 03:30:32 2009 UTC (15 years, 10 months ago) by snj
Branches: 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
Diff to: previous 1.150.6.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.6.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 24 02:01:01 2009 UTC (15 years, 10 months ago) by tsutsui
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 21 16:24:34 2009 UTC (15 years, 10 months ago) by he
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +4 -4 lines
Re-adapt to the changed return types for major() and minor().

Revision 1.150.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:00 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +25 -10 lines
Sync with HEAD.

Revision 1.149.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:54 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.149.6.1: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.6.1: +23 -8 lines
Sync with HEAD.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Jan 17 05:22:00 2009 UTC (15 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +6 -6 lines
Use PRIu64 to print 64 bit dev_t (for now).

Revision 1.150.6.1: download - view: text, markup, annotated - select for diffs
Thu Jan 8 22:19:14 2009 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC1
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +15 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 3 06:36:58 2009 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +15 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:03 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150: +8 -6 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Nov 30 18:21:32 2008 UTC (16 years ago) by martin
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 25 15:51:34 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +3 -3 lines
dumpsys: don't spew numbers into the log.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:35:57 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:40 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:22 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.149.12.2: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.12.2: +2 -10 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.149.14.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:52 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +2 -10 lines
Sync with head.

Revision 1.149.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:15 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +2 -10 lines
Sync with HEAD.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:28:55 2008 UTC (16 years, 5 months ago) by ad
Branches: 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
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +2 -10 lines
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.149.12.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:34:58 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.149.12.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.12.1: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat May 10 23:48:43 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:56 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.145.10.2: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.10.2: +2 -34 lines
sync with HEAD

Revision 1.146.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:24 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.146.2.1: preferred, colored; branchpoint 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146.2.1: +34 -79 lines
Sync with HEAD.

Revision 1.137.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:53 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137.2.5: preferred, colored; branchpoint 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137.2.5: +34 -79 lines
sync with head

Revision 1.145.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:45:29 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.145.10.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.10.1: +41 -55 lines
sync with HEAD

Revision 1.147.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:35 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147: +34 -79 lines
Sync with HEAD

Revision 1.149: download - view: text, markup, annotated - select for diffs
Tue Jan 8 18:04:15 2008 UTC (16 years, 11 months ago) by joerg
Branches: 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
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -34 lines
Convert Atari to generic TODR and timecounter.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu Jan 3 00:31:28 2008 UTC (16 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +36 -49 lines
ANSIfy.

Revision 1.145.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:34:42 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145: +7 -8 lines
Sync with HEAD.

Revision 1.146.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:42 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +7 -8 lines
Sync with HEAD.

Revision 1.137.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:21 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137.2.4: preferred, colored; branchpoint 1.137: preferred, colored
Changes since revision 1.137.2.4: +7 -8 lines
sync with head

Revision 1.143.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:35:10 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.143.2.2: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.2.2: +7 -8 lines
Sync with HEAD.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:33:22 2007 UTC (17 years ago) by ad
Branches: 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
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +7 -8 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:15:17 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
sync with HEAD

Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:45 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:23:32 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137.2.3: preferred, colored; branchpoint 1.137: preferred, colored
Changes since revision 1.137.2.3: +29 -53 lines
sync with head.

Revision 1.143.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:58:16 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +25 -49 lines
Sync with head.

Revision 1.143.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:11 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.143.2.1: preferred, colored
Changes since revision 1.143.2.1: +3 -3 lines
Sync with head.

Revision 1.144.4.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:42 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +3 -3 lines
Update to HEAD.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon May 21 15:22:21 2007 UTC (17 years, 6 months ago) by tsutsui
Branches: 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
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -3 lines
curlwp can't be NULL so no need to check it.

Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:22:52 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +24 -48 lines
Sync with head.

Revision 1.143.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:24 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +24 -48 lines
Pullup to -current

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:54:34 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.141.2.2: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.2: +24 -48 lines
sync with head.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Mar 21 10:56:26 2007 UTC (17 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Branch point for: ppcoea-renovation
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +24 -48 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 12 05:47:18 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +6 -6 lines
Sync with HEAD.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:39 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +6 -6 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:49:50 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +5 -5 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.137.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:06:07 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137.2.2: preferred, colored; branchpoint 1.137: preferred, colored
Changes since revision 1.137.2.2: +5 -6 lines
sync with head.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Thu Feb 22 05:15:14 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +5 -5 lines
TRUE -> true, FALSE -> false

Revision 1.141: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:02 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +2 -3 lines
Merge newlock2 to head.

Revision 1.139.20.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:33 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.139.20.1: preferred, colored; branchpoint 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.20.1: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.137.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:38 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137.2.1: preferred, colored; branchpoint 1.137: preferred, colored
Changes since revision 1.137.2.1: +7 -3 lines
sync with head.

Revision 1.139.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:07 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +7 -3 lines
Sync with head.

Revision 1.139.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:35 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +7 -3 lines
sync with head

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Oct 21 05:54:31 2006 UTC (18 years, 1 month ago) by mrg
Branches: 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
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +7 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 14:49:55 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +7 -7 lines
sync with head.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Dec 24 22:45:34 2005 UTC (18 years, 11 months ago) by perry
Branches: 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
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -4 lines
bare asm -> __asm

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:54 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -5 lines
merge ktrace-lwp.

Revision 1.127.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:27 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.5: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.5: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Jun 4 14:42:36 2005 UTC (19 years, 6 months ago) by he
Branches: 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
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:05 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +3 -24 lines
sync with -current

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Apr 25 15:02:03 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 15 21:32:32 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.4: preferred, colored
Changes since revision 1.127.2.4: +2 -23 lines
Sync with HEAD.

Revision 1.134.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:30 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +2 -23 lines
sync with head.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Feb 11 15:03:55 2005 UTC (19 years, 10 months ago) by yamt
Branches: 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
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -23 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 21 13:13:56 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.3: preferred, colored
Changes since revision 1.127.2.3: +5 -5 lines
Fix the sync with head I botched.

Revision 1.127.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:32:55 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.2: preferred, colored
Changes since revision 1.127.2.2: +4 -4 lines
Sync with HEAD.

Revision 1.127.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:33:09 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.1: preferred, colored
Changes since revision 1.127.2.1: +55 -94 lines
Sync with HEAD

Revision 1.134: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:47 2004 UTC (20 years, 8 months ago) by atatat
Branches: 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
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +6 -4 lines
Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:11 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3 lines
Uppercase CPU, plural is CPUs.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:15 2003 UTC (20 years, 11 months ago) by pk
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -65 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:21 2003 UTC (21 years ago) by atatat
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +12 -28 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 27 20:01:58 2003 UTC (21 years, 2 months ago) by cl
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3 lines
Cast through (void *) to appease gcc3.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:26:56 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +37 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 15 01:19:44 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -1 lines
__KERNEL_RCSID()

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:17 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 29 22:28:13 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 28 14:20:49 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:10 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -1 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat May 10 21:10:28 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +21 -0 lines
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 - view: text, markup, annotated - select for diffs
Thu May 8 18:13:14 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +1 -22 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 26 11:05:08 2003 UTC (21 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +9 -4 lines
Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.121: download - view: text, markup, annotated - select for diffs
Tue Apr 1 23:47:02 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +13 -13 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:34:23 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +13 -9 lines
Merge the nathanw_sa branch.

Revision 1.112.4.11: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:46 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.112.4.10: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.4.10: +1 -3 lines
Catch up to -current.

Revision 1.110.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:57 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.110.2.5: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.5: +16 -10 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:05 2002 UTC (22 years, 2 months ago) by thorpej
Branches: 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +1 -2 lines
Don't include <sys/map.h>.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Sep 19 10:38:00 2002 UTC (22 years, 2 months ago) by ragge
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -2 lines
Do not include <sys/clist.h>, it's not used in NetBSD at all.

Revision 1.112.4.10: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:13:38 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.9: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.9: +16 -8 lines
Catch up to -current.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +16 -8 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:33:16 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.110.2.4: preferred, colored
Changes since revision 1.110.2.4: +3 -4 lines
sync kqueue branch with HEAD

Revision 1.115.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:22 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.115.2.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.2.1: +3 -4 lines
catch up with -current.

Revision 1.112.4.9: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:44:25 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.8: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.8: +3 -4 lines
Catch up to -current.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:21:35 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:25 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.7: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.7: +1 -2 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.112.4.7: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:04:04 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.6: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.6: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:35:12 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.110.2.3: preferred, colored
Changes since revision 1.110.2.3: +3 -3 lines
catch up with -current on kqueue branch

Revision 1.112.4.6: download - view: text, markup, annotated - select for diffs
Wed May 29 21:31:38 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.5: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.5: +2 -1 lines
#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 - view: text, markup, annotated - select for diffs
Fri May 17 13:49:51 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +16 -8 lines
Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.112.4.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:02:37 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.4: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.4: +2 -1 lines
Catch up to -current.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Apr 9 13:04:43 2002 UTC (22 years, 8 months ago) by leo
Branches: 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
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -1 lines
Pull in prototype for setregs()

Revision 1.112.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:31 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.112.4.3: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.3: +3 -4 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Mar 20 17:59:22 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -3 lines
kill remaining PS_STRINGS instances.

Revision 1.110.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:56:50 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.110.2.2: preferred, colored
Changes since revision 1.110.2.2: +2 -2 lines
Catch up with -current.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Mar 6 13:10:19 2002 UTC (22 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 2 12:30:31 2001 UTC (23 years ago) by scw
Branches: nathanw_sa
Diff to: previous 1.112.4.2: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.2: +4 -1 lines
If an FPU is available, call m68k_make_fpu_idle_frame() to generate
a reference FPU idle frame.

Revision 1.112.4.2: download - view: text, markup, annotated - select for diffs
Sat Nov 17 23:18:04 2001 UTC (23 years ago) by scw
Branches: nathanw_sa
Diff to: previous 1.112.4.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.1: +1002 -0 lines
MD Scheduler Activation bits for Atari.
Compile-tested only.

Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:38:03 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +3 -3 lines
Catch up with -current.

Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:13:18 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.110.2.1: preferred, colored
Changes since revision 1.110.2.1: +3 -3 lines
Update the kqueue branch to HEAD.

Revision 1.112.4.1
Mon Sep 10 21:19:11 2001 UTC (23 years, 3 months ago) by scw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.112: +0 -1001 lines
file machdep.c was added on branch nathanw_sa on 2001-11-17 23:18:04 +0000

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:11 2001 UTC (23 years, 3 months ago) by chris
Branches: 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
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 25 06:15:16 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -4 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Aug 24 04:34:25 2001 UTC (23 years, 3 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -4 lines
use pmap_k* for buffer cache pages.

Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:20:07 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.106.2.1: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +30 -4 lines
Catch up to -current.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:11 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +4 -4 lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue May 15 13:57:43 2001 UTC (23 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +24 -0 lines
Add an NMI handler for the Milan.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:30:55 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:51:46 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -5 lines
Catch up with -current.

Revision 1.86.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:30:35 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.86.2.3: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.3: +4 -5 lines
Sync with HEAD.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:37 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 11 19:09:07 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.86.2.2: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.2: +11 -2 lines
Sync with HEAD.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:47:46 2001 UTC (23 years, 10 months ago) by leo
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +11 -2 lines
Prepare assembly parts for an eventual transition to ELF. Mostly from a
diff from Steve Woodford.

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:22:23 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.1: +9 -4 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Jan 15 20:19:53 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Jan 7 21:12:31 2001 UTC (23 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -1 lines
Expand identify_cpu() for the Milan.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Jan 7 20:59:29 2001 UTC (23 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2 lines
Update the printf format in straymfpint() too.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Jan 7 20:56:51 2001 UTC (23 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -2 lines
Fixes for straytrap():
	- make it clear that we are printing hex-numbers
        - fix the loop protection.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:05:23 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +42 -116 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 28 07:26:48 2000 UTC (24 years, 2 months ago) by leo
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +8 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 13 15:00:17 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 2 05:43:43 2000 UTC (24 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -1 lines
undef PS after inclusion of net/netisr.h to avoid conflict w/ machine/reg.h

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Jul 2 04:40:35 2000 UTC (24 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -37 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 29 08:28:23 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:20:39 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 22 16:59:35 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +2 -2 lines
Sync w/ netbsd-1-5-base.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Jun 5 23:44:57 2000 UTC (24 years, 6 months ago) by jhawk
Branches: 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
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri May 26 21:19:33 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 28 23:57:25 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 21 20:38:47 2000 UTC (24 years, 9 months ago) by erh
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +11 -55 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 19 20:05:33 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +1 -8 lines
Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Jan 19 02:52:22 2000 UTC (24 years, 10 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
check whether tv_usec >= 1000000

Revision 1.86.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:47 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +16 -10 lines
Pull up to last week's -current.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:20:13 1999 UTC (25 years ago) by ragge
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -7 lines
CL* discarding.

Revision 1.79.2.1.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:32:00 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.79.2.1.4.1: preferred, colored; branchpoint 1.79.2.1: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.1.4.1: +0 -0 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 15 00:37:25 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +10 -4 lines
Sync with -current

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:30:29 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4 lines
Update for pmap_enter() API change.  No functional difference.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Oct 28 13:38:35 1999 UTC (25 years, 1 month ago) by leo
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -1 lines
Use extent maps.

Revision 1.79.2.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:42:53 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.79.2.1.2.2: preferred, colored; branchpoint 1.79.2.1: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.1.2.2: +14 -13 lines
Update from trunk.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Jul 22 09:20:38 1999 UTC (25 years, 4 months ago) by leo
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +14 -13 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 1 23:03:48 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.79.2.1.2.1: preferred, colored; branchpoint 1.79.2.1: preferred, colored
Changes since revision 1.79.2.1.2.1: +10 -1 lines
Sync w/ -current.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Jun 28 08:20:43 1999 UTC (25 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -1 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Jun 28 06:36:47 1999 UTC (25 years, 5 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705, kame_14_19990628
Diff to: previous 1.79.2.1: preferred, colored
Changes since revision 1.79.2.1: +10 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 21 00:48:34 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.79.2.1: preferred, colored
Changes since revision 1.79.2.1: +20 -132 lines
Sync w/ -current.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed May 26 19:16:30 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed May 26 14:29:34 1999 UTC (25 years, 6 months ago) by leo
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -7 lines
Make this compile again. I assumed that the use of 'format_memory()' was
an error? Made it use format_bytes()....

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu May 20 08:21:43 1999 UTC (25 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +14 -126 lines
* 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 - view: text, markup, annotated - select for diffs
Mon Apr 26 22:46:45 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 16 16:16:05 1999 UTC (25 years, 8 months ago) by chs
Branches: 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
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 11 04:04:06 1999 UTC (25 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 1 00:17:46 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -6 lines
Don't call configure() from cpu_startup().

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:28 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 24 05:50:58 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -84 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 27 06:39:35 1999 UTC (25 years, 9 months ago) by scottr
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -1 lines
defopt BUFCACHE and BUFPAGES.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Jan 9 22:10:16 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
Garbage-collect `mbutl'.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Nov 24 15:07:33 1998 UTC (26 years ago) by leo
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +35 -12 lines
Implement BUFCACHE option as suggested by lukem.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Nov 24 15:05:53 1998 UTC (26 years ago) by leo
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -1 lines
Make compile with -DDEBUG

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Nov 24 15:03:31 1998 UTC (26 years ago) by leo
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -1 lines
Pull-in device.h for configure() prototype.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Oct 19 22:09:15 1998 UTC (26 years, 1 month ago) by tron
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -1 lines
Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Sep 2 14:58:02 1998 UTC (26 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +25 -25 lines
Get rid of vm_offset_t/vm_size_t

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Aug 11 12:22:57 1998 UTC (26 years, 4 months ago) by leo
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +20 -1 lines
Add CCITT & NATM interrupt handlers. (Jonathan Stone).

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Jul 5 08:49:38 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1 lines
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:49:04 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -1 lines
defopt NS, NSIP.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jul 5 04:37:36 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1 lines
defopt ISO TPIP.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:08 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -1 lines
defopt INET, NETATALK.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:21 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
defopt DDB.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jun 9 01:57:42 1998 UTC (26 years, 6 months ago) by tv
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 11 07:46:17 1998 UTC (26 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +107 -6 lines
Add UVM option.

Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Fri May 8 05:12:42 1998 UTC (26 years, 7 months ago) by mycroft
Branches: 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
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.1: +3 -1 lines
Pull up patch from leo.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu May 7 07:25:51 1998 UTC (26 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -13 lines
Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Mar 13 21:05:10 1998 UTC (26 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -667 lines
Move the bus_* functions from machdep.c to bus.c .

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Mar 10 11:42:53 1998 UTC (26 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +600 -4 lines
Bus-dma implementation for the atari. Heavily based on the i386
implementation.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Feb 19 04:18:31 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
Disable the message buffer during crash dumps by clearing msgbufenabled,
not msgbufmapped.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Jan 24 16:46:31 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -3 lines
When dumping, print out the device number as major,minor.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Dec 4 15:33:23 1997 UTC (27 years ago) by tv
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -7 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 23 00:21:42 1997 UTC (27 years, 1 month ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -2 lines
Pull version 1.55 up from trunk

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Oct 22 08:04:07 1997 UTC (27 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -2 lines
Make this compile again by including <vm/vm.h> and moving sysctl.h below
that include.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 22 06:30:48 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +7 -6 lines
Update marc-pcmcia branch from trunk.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Sep 19 13:53:34 1997 UTC (27 years, 2 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 16 03:48:17 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +19 -8 lines
Update marc-pcmcia branch from trunk.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 12 10:29:22 1997 UTC (27 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -3 lines
Set the status word as well, and remove a bogus comment.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Sep 12 07:00:34 1997 UTC (27 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +17 -4 lines
Always initialize all registers in setregs().

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Sep 11 23:01:55 1997 UTC (27 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3 lines
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jul 15 06:49:56 1997 UTC (27 years, 5 months ago) by leo
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +14 -1 lines
Implement bus_space_subregion()

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 12 15:46:28 1997 UTC (27 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -2 lines
bring mrg-vm-swap2 onto mainilne.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Jun 10 18:43:46 1997 UTC (27 years, 6 months ago) by veego
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -7 lines
s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 8 23:54:22 1997 UTC (27 years, 6 months ago) by veego
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
Initialize machine from MACHINE.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sun May 4 15:18:47 1997 UTC (27 years, 7 months ago) by mrg
Branches: mrg-vm-swap2
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +1 -2 lines
re-merge mrg-vm-swap into -current, and call it mrg-vm-swap2.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Apr 9 19:40:20 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap2-base
Branch point for: mrg-vm-swap2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -92 lines
Garbage-collect regdump() and friends.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Apr 6 12:39:41 1997 UTC (27 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -3 lines
Calculate dumpsize correctly (in pages).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Apr 2 21:54:17 1997 UTC (27 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -1 lines
Add netatalk netisr

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 27 21:01:27 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -6 lines
Don't allocate mclrefcnt[]; it's dead and gone.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Mar 26 22:42:33 1997 UTC (27 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -9 lines
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 26 15:46:12 1997 UTC (27 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -313 lines
Use m68k/sig_machdep.c

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 26 15:44:03 1997 UTC (27 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
Add missing 'break'.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:09:43 1997 UTC (27 years, 9 months ago) by is
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 12 14:46:40 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +21 -5 lines
Merge in Changes from The Trunk.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Mar 10 14:44:27 1997 UTC (27 years, 9 months ago) by leo
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +21 -5 lines
Push out some 060 support. It's all untested and mostly copied in from the
amiga-port.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 12 12:47:02 1997 UTC (27 years, 10 months ago) by mrg
Branches: mrg-vm-swap
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +1 -2 lines
don't allocate swap map in allocsys.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 30 05:34:59 1997 UTC (27 years, 10 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +18 -5 lines
update from trunk

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jan 27 07:53:29 1997 UTC (27 years, 10 months ago) by leo
Branches: MAIN
CVS tags: is-newarp-base
Branch point for: mrg-vm-swap, is-newarp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Use bus_space_tag when calculating the physical address.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 21 20:37:05 1997 UTC (27 years, 10 months ago) by leo
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +16 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 14 13:52:01 1996 UTC (28 years ago) by leo
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -8 lines
Remove some code accidently checked in on previous commit.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Nov 8 14:21:02 1996 UTC (28 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -10 lines
Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Nov 6 13:53:35 1996 UTC (28 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +54 -1 lines
Add  bus_mem_(un)map functions.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Oct 25 19:58:43 1996 UTC (28 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +26 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 13 04:10:39 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +50 -50 lines
backout previous kprintf changes

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 11 00:08:57 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +50 -50 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Sep 25 15:03:20 1996 UTC (28 years, 2 months ago) by leo
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -3 lines
Catchup with -current:
  - Extra argument to boot()
  - select -> poll

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Aug 23 11:11:51 1996 UTC (28 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +14 -5 lines
Recognize the Hades as a valid machine type.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Aug 23 11:08:06 1996 UTC (28 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Fri Aug 9 10:30:23 1996 UTC (28 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 12 13:16:31 1996 UTC (28 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +19 -14 lines
Sync with atari_init cleanup

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 30 20:09:04 1996 UTC (28 years, 5 months ago) by jtc
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +1 -3 lines
Pulled up rev 1.24 by request from Leo Weppelman

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jun 29 20:24:25 1996 UTC (28 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3 lines
Remove references to kern_extern.h

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Apr 26 06:59:27 1996 UTC (28 years, 7 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +8 -1 lines
Corrections for removed <sys/cpu.h> and some more prototypes.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Apr 18 08:51:15 1996 UTC (28 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +40 -19 lines
Yet more prototyping and -Wall fixes.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 27 10:16:04 1996 UTC (28 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
Allow call-back functions to drop to spl0().

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Mar 10 21:54:46 1996 UTC (28 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -2 lines
Add the include files and the atari kernel support for new format panic
dumps.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Feb 22 10:10:51 1996 UTC (28 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +25 -41 lines
First bunch of changes due to stricter prototype checking.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jan 4 22:21:47 1996 UTC (28 years, 11 months ago) by jtc
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 25 14:09:13 1995 UTC (28 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -3 lines
Add doshutdownhooks

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:25:28 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3 lines
Prefix names of system call implementation functions with `sys_'.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 19 23:08:09 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -5 lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 1 20:06:35 1995 UTC (29 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
SA_ONSTACK --> SS_ONSTACK

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 28 20:07:04 1995 UTC (29 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Fix typo in previous commit

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 28 19:31:07 1995 UTC (29 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -29 lines
Detect type and precence of an FPU in the kernel instead of relying on GEM.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 13 21:36:09 1995 UTC (29 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -1 lines
Add pppintr() to netintr().

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 11 18:25:04 1995 UTC (29 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +86 -8 lines
Dumping works, now if there were tools to handle it...

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 28 19:31:50 1995 UTC (29 years, 6 months ago) by leo
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -12 lines
Remove FPCOPROC use fputype instead.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 21 13:55:16 1995 UTC (29 years, 6 months ago) by leo
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Set A2 to PS_STRINGS.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 14 15:23:30 1995 UTC (29 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +36 -20 lines
- Remove double mapping of stack
- Change to new coredump format

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed May 10 07:07:30 1995 UTC (29 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -30 lines
Print proper machine type at startup. Use 'vfs_shutdown' to sync the
disks.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 5 16:35:25 1995 UTC (29 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +38 -11 lines
Report "real mem" correctly and make one single module for handling
software interrupts.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 27 20:34:13 1995 UTC (29 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +0 -8 lines
Removed cpuspeed

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 22 20:25:15 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -198 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Apr 10 13:09:06 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
kernel_pmap --> pmap_kernel()

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 26 07:12:19 1995 UTC (29 years, 8 months ago) by leo
Branches: Leo
CVS tags: Leo-initial-950326
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
NetBSD/Atari, port by Leo Weppelman.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 26 07:12:19 1995 UTC (29 years, 8 months ago) by leo
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>