The NetBSD Project

CVS log for src/sys/arch/sun3/sun3x/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


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

Remove unnecessary <sys/malloc.h>.

Revision 1.139 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:45 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored)

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

Revision 1.135.30.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:55 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.135.30.1: +3 -3 lines
Diff to previous 1.135.30.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored)

Merge changes from current as of 20200406

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

Rename uvm_free() -> uvm_availmem().

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

uvmexp.free -> uvm_free()

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

Sync with HEAD

Revision 1.136 / (download) - annotate - [select for diffs], Mon Jun 3 05:59:02 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored)

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

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

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

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

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

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

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

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

Rebase to HEAD as of a few days ago.

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

sync with head.

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

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

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

sync with head

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

use cpu_{g,s}etmodel

Revision 1.134 / (download) - annotate - [select for diffs], Fri Sep 6 17:43:19 2013 UTC (10 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.133: +12 -12 lines
Diff to previous 1.133 (colored)

Tab/whitespace cleanup.

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

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:26 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.132: +2 -3 lines
Diff to previous 1.132 (colored)

Remove declartions of physmem

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

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

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:58 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.130: +4 -14 lines
Diff to previous 1.130 (colored)

sync with head

Revision 1.130.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:22 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.130: +4 -14 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

merge to -current.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:12 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.130: +4 -14 lines
Diff to previous 1.130 (colored)

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

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

fixes PR#45705.

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

Catchup with rmind-uvmplock merge.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Jun 14 15:23:19 2011 UTC (12 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

Fix merge botch. KERNBASE macro was split into KERNBASE3 and KERNBASE3X
for kernel, and was replaced with kernbase constant for possible reference
of USRSTACK in module(7).

Revision 1.129 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:48 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.128: +46 -2 lines
Diff to previous 1.128 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

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

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

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

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

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

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

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

Sync with HEAD.

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

sync with head

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

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

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

Revision 1.123.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:13 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.123.2.1: +22 -43 lines
Diff to previous 1.123.2.1 (colored) to branchpoint 1.123 (colored)

sync with head

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

Sync with HEAD

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

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

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

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

Sync with HEAD

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

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

Extra verification by snj@.

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

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

Revision 1.122.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:38 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.122.2.1: +17 -2 lines
Diff to previous 1.122.2.1 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)

Sync with HEAD (-D20101022).

Revision 1.124 / (download) - annotate - [select for diffs], Fri Oct 15 15:55:53 2010 UTC (13 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.123: +19 -4 lines
Diff to previous 1.123 (colored)

Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?

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

Sync with HEAD.

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

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

Work and depression still in progress.

Revision 1.110.20.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:04 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.110.20.2: +7 -15 lines
Diff to previous 1.110.20.2 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

sync with head

Revision 1.123 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:32 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.122: +2 -10 lines
Diff to previous 1.122 (colored)

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

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

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

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

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

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

Revision 1.120 / (download) - annotate - [select for diffs], Tue Nov 10 17:37:15 2009 UTC (14 years, 5 months ago) by he
Branch: MAIN
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Add a zero argument to pmap_kenter_pa() invocations.
According to cegger@ this is the right thing to do for the moment.

Revision 1.110.20.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:48 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.110.20.1: +3 -2 lines
Diff to previous 1.110.20.1 (colored) to branchpoint 1.110 (colored)

sync with head.

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

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

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

Sync with HEAD.

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

Revision 1.110.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:01 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.110: +12 -16 lines
Diff to previous 1.110 (colored)

sync with head.

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

Sync with HEAD.

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

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

Revision 1.111.6.1 / (download) - annotate - [select for diffs], Mon Feb 2 03:30:34 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

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

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

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

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:57 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.111: +11 -9 lines
Diff to previous 1.111 (colored)

Sync with HEAD.

Revision 1.110.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:34 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.110.16.1: +9 -7 lines
Diff to previous 1.110.16.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.

Revision 1.116 / (download) - annotate - [select for diffs], Mon Jan 12 17:17:38 2009 UTC (15 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.115: +6 -6 lines
Diff to previous 1.115 (colored)

Use PRIu64 to print 64 bit dev_t.

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

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

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

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

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

dumpsys: don't spew numbers into the log.

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

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

Proposed on tech-kern@.

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

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

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

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

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

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

Sync with wrstuden-revivesa-base-2.

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

Sync with head.

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

Sync with HEAD.

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

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

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

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

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

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

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

I think this reduction is very good thing.

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

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

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

Revision 1.109.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:08 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

sync with HEAD

Revision 1.110 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:47 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, 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, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.101.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:42 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.3: +6 -9 lines
Diff to previous 1.101.2.3 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with head.

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

Sync with head.

Revision 1.108.10.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:50 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.108: +2 -5 lines
Diff to previous 1.108 (colored) next main 1.109 (colored)

Sync with HEAD.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Sat Jun 9 23:55:30 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.108: +2 -5 lines
Diff to previous 1.108 (colored) next main 1.109 (colored)

Sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Jun 2 06:23:57 2007 UTC (16 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.108: +2 -5 lines
Diff to previous 1.108 (colored)

- Don't refer fputype before FPU is probed.
- Call m68k_make_fpu_idle_frame() from initfpu().

Revision 1.105.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:10 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.105.2.1: +6 -6 lines
Diff to previous 1.105.2.1 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Mar 4 14:01:22 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.107: +5 -5 lines
Diff to previous 1.107 (colored)

Use (char *) on pointer arith.

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

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

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

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

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:37 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.2: +7 -8 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored)

sync with head.

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

TRUE -> true, FALSE -> false

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

Merge newlock2 to head.

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

Remove support for SA. Ok core@.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:13 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.1: +6 -6 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored)

sync with head.

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

Sync with head.

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

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:33 2006 UTC (17 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.103: +6 -4 lines
Diff to previous 1.103 (colored)

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

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

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

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

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

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

Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 5 14:46:12 2006 UTC (17 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.102: +2 -4 lines
Diff to previous 1.102 (colored)

Make sun3 use common sun68k/sun68k/isr.c, sun68k/include/cpu.h and
sun68k/include/intr.h.

This also means now sun3 has GENERIC_SOFT_INTERRUPTS support,
so also adapt fd.c and zs.c to MI softintr(9) APIs.

(I'll also update related sources in yamt-splraiseipl branch later)

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

sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:27 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

merge ktrace-lwp.

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

Sync with HEAD. Here we go again...

Revision 1.101 / (download) - annotate - [select for diffs], Sun Jun 19 20:00:29 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored)

Move common Sun ID PROM definitions into <dev/sun/idprom.h>.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Jun 3 15:04:21 2005 UTC (18 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

Constify.

Revision 1.96.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:26 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.96: +30 -35 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

sync with -current

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

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

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

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:35 2005 UTC (19 years ago) by yamt
Branch: MAIN
Changes since 1.97: +6 -4 lines
Diff to previous 1.97 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Sun Feb 27 13:27:49 2005 UTC (19 years, 1 month ago) by tsutsui
Branch: yamt-km
Changes since 1.97.2.1: +3 -3 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Add a missing third arg (align) of uvm_km_alloc() for the new API world.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 12:26:27 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.97: +6 -4 lines
Diff to previous 1.97 (colored)

use new apis.

Revision 1.89.2.5 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:02 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.89.2.4: +25 -32 lines
Diff to previous 1.89.2.4 (colored)

Sync with HEAD.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jan 22 15:36:11 2005 UTC (19 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Branch point for: yamt-km
Changes since 1.96: +25 -32 lines
Diff to previous 1.96 (colored)

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

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.89.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:42:13 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.89.2.1: +85 -104 lines
Diff to previous 1.89.2.1 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:51 2004 UTC (20 years ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.95: +10 -6 lines
Diff to previous 1.95 (colored)

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

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

Uppercase CPU, plural is CPUs.

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

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

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

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

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

Dynamic sysctl.

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

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

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

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

Revision 1.92 / (download) - annotate - [select for diffs], Sun Oct 26 09:23:06 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Fix a compiler warning.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:59 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.90: +36 -3 lines
Diff to previous 1.90 (colored)

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

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

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

__KERNEL_RCSID()

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:35 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:05 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

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

Revision 1.88 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:11 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

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

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

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 1 15:28:41 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.85: +18 -17 lines
Diff to previous 1.85 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jan 18 07:03:37 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.84: +12 -8 lines
Diff to previous 1.84 (colored)

Merge the nathanw_sa branch.

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

Catch up to -current

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

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

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

Catch up to -current.

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

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

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

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

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

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

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

Catch up to -current.

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

Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

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

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

sync kqueue branch with HEAD

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

catch up with -current.

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

Catch up to -current.

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

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

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

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

Revision 1.76.4.7 / (download) - annotate - [select for diffs], Mon Jun 24 22:08:45 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.4.6: +2 -2 lines
Diff to previous 1.76.4.6 (colored) to branchpoint 1.76 (colored)

Curproc->curlwp renaming.

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

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

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

catch up with -current on kqueue branch

Revision 1.76.4.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:54 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.76.4.5: +3 -1 lines
Diff to previous 1.76.4.5 (colored) to branchpoint 1.76 (colored)

Catch up to -current.

Revision 1.78.4.2 / (download) - annotate - [select for diffs], Thu May 30 15:36:23 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.78.4.1: +3 -1 lines
Diff to previous 1.78.4.1 (colored) to branchpoint 1.78 (colored)

Catch up with -current.

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

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

(Behold the Power of Ed)

Revision 1.79 / (download) - annotate - [select for diffs], Sat May 18 06:59:12 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

add missing  union sun3sir sun3sir;  (hi gimpy!)

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:50:01 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.78: +9 -7 lines
Diff to previous 1.78 (colored)

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

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

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

Revision 1.78 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:27 2002 UTC (22 years ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

kill remaining PS_STRINGS instances.

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

Catch up with -current.

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

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

Revision 1.76.4.3 / (download) - annotate - [select for diffs], Sun Dec 2 12:30:34 2001 UTC (22 years, 4 months ago) by scw
Branch: nathanw_sa
Changes since 1.76.4.2: +4 -1 lines
Diff to previous 1.76.4.2 (colored) to branchpoint 1.76 (colored)

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

Revision 1.76.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:39:05 2001 UTC (22 years, 5 months ago) by scw
Branch: nathanw_sa
Changes since 1.76.4.1: +765 -0 lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored)

MD Scheduler Activation bits for sun3/3x.
Compile-tested only.

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

Catch up with -current.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:02 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.71: +17 -18 lines
Diff to previous 1.71 (colored)

Update the kqueue branch to HEAD.

Revision 1.76.4.1, Tue Sep 11 20:37:13 2001 UTC (22 years, 7 months ago) by scw
Branch: nathanw_sa
Changes since 1.76: +0 -764 lines
FILE REMOVED

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

Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 11 20:37:13 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.75: +3 -4 lines
Diff to previous 1.75 (colored)

replace pmap_enter() with pmap_kenter_pa() where appropriate.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:28 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Sep 5 14:18:10 2001 UTC (22 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

bcopy() -> memcpy(), bzero() -> memset()

Revision 1.73 / (download) - annotate - [select for diffs], Wed Sep 5 12:37:25 2001 UTC (22 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.72: +10 -10 lines
Diff to previous 1.72 (colored)

- vm_offset_t -> [pv]addr_t
- vm_size_t -> vsize_t
- remove register prefixes

Revision 1.72 / (download) - annotate - [select for diffs], Fri Aug 31 04:44:57 2001 UTC (22 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Use comments around the token after a #endif.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:37:45 2001 UTC (22 years, 9 months ago) by nathanw
Changes since 1.63.2.1: +49 -47 lines
Diff to previous 1.63.2.1 (colored) next main 1.64 (colored)

Catch up to -current.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Jun 16 00:38:19 2001 UTC (22 years, 10 months ago) by tsutsui
Branch: MAIN
Branch point for: kqueue
Changes since 1.70: +31 -28 lines
Diff to previous 1.70 (colored)

Make sure to write out the dump header into an independent block
on the dump device on sun3x. (sync with sun3)
Now savecore(8) can find core dump in dumpdev properly.

XXX "target kcore /dev/mem" on gdb does not work yet.

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

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

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

add missing   #include "opt_kgdb.h"

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 28 22:47:05 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.67: +1 -8 lines
Diff to previous 1.67 (colored)

remove check for too-small MSGBUFOFF now that the reason for it is gone.

Revision 1.67 / (download) - annotate - [select for diffs], Mon May 28 21:54:27 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.66: +1 -10 lines
Diff to previous 1.66 (colored)

remove a useless call to uvm_map_protect().  the kernel text is already
mapped read-only in pmap_bootstrap() and the comment which tried to
explain why this might be needed anyway didn't make any sense.

Revision 1.66 / (download) - annotate - [select for diffs], Mon May 28 20:56:54 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.65: +17 -6 lines
Diff to previous 1.65 (colored)

make sun3x work again after the recent change to the m68k cpu_kcore_hdr:
allocate a page for dumps like the sun3 does rather than using part of
the msgbuf page.  this also lets the msgbuf use the full msgbuf page.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:14 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.64: +4 -1 lines
Diff to previous 1.64 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:15 2001 UTC (23 years ago) by nathanw
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Catch up with -current.

Revision 1.52.2.5 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:41 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.4: +3 -3 lines
Diff to previous 1.52.2.4 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:52 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

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

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

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:43 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.3: +6 -7 lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 22 07:11:13 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.62: +6 -7 lines
Diff to previous 1.62 (colored)

switch sun3 to ELF.  highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:52 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.2: +1 -2 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jan 26 16:12:12 2001 UTC (23 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.61: +1 -2 lines
Diff to previous 1.61 (colored)

Sync with sun3/machdep.c:

> Require the machine-dependant DDB commands to be in db_machine_command_table[]
> and link it directly to db_command_table[] so that it's not necessary
> to do this at runtime. Make db_machine_command_table[] const on all ports.
> g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()
>
> Patch written by enami.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri Dec 15 04:26:18 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.57: +2 -12 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up revision 1.61 (requested by tsutsui):
  Make PROM boot command work properly even after halt on 3/80.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:02:07 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.1: +2 -12 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)

Sync with HEAD.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:28:08 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52: +9 -21 lines
Diff to previous 1.52 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Nov 9 14:38:44 2000 UTC (23 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.60: +2 -12 lines
Diff to previous 1.60 (colored)

On sun3x, cpu_reboot() calls sunmon_abort() for PROM bug work-around,
but sunmon_abort() does not restore mon_crp so it causes problems.
Instead, call romVectorPtr->abortEntry (via trap14) from sunmon_halt()
and call it from cpu_reboot().

Now PROM boot command works properly even after halt on my 3/80.

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

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

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 29 07:19:13 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.58: +1 -3 lines
Diff to previous 1.58 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:04 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.57: +1 -4 lines
Diff to previous 1.57 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:51 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 5 23:45:02 2000 UTC (23 years, 10 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored)

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

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

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

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

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

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

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

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

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:49 2000 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.54: +1 -10 lines
Diff to previous 1.54 (colored)

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

Revision 1.52.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:09 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.52: +5 -5 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Pull up to last week's -current.

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

CL* discarding.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:45 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with -current

Revision 1.53 / (download) - annotate - [select for diffs], Sat Nov 13 00:32:19 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

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

Revision 1.52 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:27 1999 UTC (24 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.51: +3 -8 lines
Diff to previous 1.51 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.46.2.2.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:03:21 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.46.2.2: +13 -102 lines
Diff to previous 1.46.2.2 (colored) next main 1.47 (colored)

Sync w/ -current.

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 26 19:16:35 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Thu May 20 08:21:47 1999 UTC (24 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.49: +10 -98 lines
Diff to previous 1.49 (colored)

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

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

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

Revision 1.48 / (download) - annotate - [select for diffs], Sun Apr 25 02:56:29 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.47: +2 -4 lines
Diff to previous 1.47 (colored)

g/c REAL_CLISTS.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Fri Apr 16 16:25:36 1999 UTC (25 years ago) by chs
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.46.2.1: +881 -0 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

pull up 1.46 -> 1.47:
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.47 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:10 1999 UTC (25 years ago) by chs
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

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

Revision 1.46.2.1.2.1, Thu Apr 8 04:17:44 1999 UTC (25 years ago) by thorpej
Changes since 1.46.2.1: +0 -0 lines
FILE REMOVED

file machdep.c was added on branch netbsd-1-4 on 1999-06-21 01:03:21 +0000

Revision 1.46.2.1, Thu Apr 8 04:17:44 1999 UTC (25 years ago) by chs
Branch: netbsd-1-4
Changes since 1.46: +0 -881 lines
FILE REMOVED

file machdep.c was added on branch netbsd-1-4 on 1999-04-16 16:25:36 +0000

Revision 1.46 / (download) - annotate - [select for diffs], Thu Apr 8 04:17:44 1999 UTC (25 years ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.45: +6 -6 lines
Diff to previous 1.45 (colored)

Use the string kernel_arch to determine "sun3" vs "sun3x"
and leave the machine string as it was (make uses it).

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:50 1999 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.44: +1 -6 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 30 06:12:40 1999 UTC (25 years ago) by gwr
Branch: MAIN
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

Arrange for "sysctl hw.machine" to show sun3x.
(Needed by the miniroot, etc.)

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:37 1999 UTC (25 years ago) by mycroft
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:15 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.41: +3 -66 lines
Diff to previous 1.41 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 4 23:18:28 1999 UTC (25 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Need to include DDB headers only if DDB is defined.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Feb 27 06:39:37 1999 UTC (25 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

defopt BUFCACHE and BUFPAGES.

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

Garbage-collect `mbutl'.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 13 18:14:30 1998 UTC (25 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Printf format warning cleanup: the type of the result of a shift operation is
that of the promoted left operand.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 24 16:48:26 1998 UTC (25 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Need <sys/device.h> to bring configure() declaration in scope.

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

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jul 4 23:12:39 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

defopt DDB.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 9 20:47:18 1998 UTC (25 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.33: +87 -5 lines
Diff to previous 1.33 (colored)

First cut at UVM support.  Compiles, but not tested yet.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 9 17:10:11 1998 UTC (25 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

Make this compile...

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

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

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 8 19:12:53 1998 UTC (26 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.30: +16 -10 lines
Diff to previous 1.30 (colored)

Sync with sun3/machdep.c (should factor out common stuff...)
> Do the "early breakpoint" (if booted with "-d") even if we
> have only the PROM to handle it, so one can patch things.

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

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

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 5 04:57:59 1998 UTC (26 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.28: +28 -25 lines
Diff to previous 1.28 (colored)

Merge arch/sun3x into arch/sun3

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Tue Jan 27 22:40:10 1998 UTC (26 years, 2 months ago) by gwr
Branch: gwr-3x3
Changes since 1.27.2.2: +6 -5 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Fix the kcore header (needs "sun3x", not "sun3")
Make cpu_model[] begin with "Sun-3X ..."

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Jan 27 19:51:22 1998 UTC (26 years, 2 months ago) by gwr
Branch: gwr-3x3
Changes since 1.27.2.1: +23 -21 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Merged Sun3 and Sun3X kernel sources.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Jan 26 19:51:23 1998 UTC (26 years, 2 months ago) by gwr
Branch: gwr-3x3
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored)

Merge recent changes on the head onto the gwr-3x3 branch.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 24 16:46:48 1998 UTC (26 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored)

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

Revision 1.27 / (download) - annotate - [select for diffs], Thu Dec 4 15:33:49 1997 UTC (26 years, 4 months ago) by tv
Branch: MAIN
CVS Tags: gwr-3x3-base
Branch point for: gwr-3x3
Changes since 1.26: +2 -10 lines
Diff to previous 1.26 (colored)

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

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Tue Nov 18 23:42:34 1997 UTC (26 years, 5 months ago) by mellon
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull rev 1.26 up from trunk (hannken)

Revision 1.26 / (download) - annotate - [select for diffs], Tue Nov 18 12:40:31 1997 UTC (26 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Change order of include files. See PR #4532.

Revision 1.18.4.3 / (download) - annotate - [select for diffs], Tue Oct 14 10:19:49 1997 UTC (26 years, 6 months ago) by thorpej
Changes since 1.18.4.2: +26 -6 lines
Diff to previous 1.18.4.2 (colored) next main 1.19 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 5 20:43:40 1997 UTC (26 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.24: +16 -4 lines
Diff to previous 1.24 (colored)

Do the cpu_kcore_hdr initialization a little differently.
(also fix - was not setting pg_frame, pg_valid)

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 4 20:03:46 1997 UTC (26 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.23: +9 -1 lines
Diff to previous 1.23 (colored)

Make cpu_reboot un-blank the screen (cnpollc(1)).
Validate space in page zero for the kcore header.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 2 01:15:11 1997 UTC (26 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Make msgbuf stay in page zero

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Mon Sep 22 06:32:50 1997 UTC (26 years, 6 months ago) by thorpej
Changes since 1.18.4.1: +5 -5 lines
Diff to previous 1.18.4.1 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 19 13:55:42 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

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

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:49:35 1997 UTC (26 years, 7 months ago) by thorpej
Changes since 1.18: +20 -9 lines
Diff to previous 1.18 (colored)

Update marc-pcmcia branch from trunk.

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

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

Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 12 07:00:49 1997 UTC (26 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +16 -3 lines
Diff to previous 1.19 (colored)

Always initialize all registers in setregs().

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 11 23:02:24 1997 UTC (26 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +4 -5 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 12 15:46:50 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

bring mrg-vm-swap2 onto mainilne.

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

Initialize machine from MACHINE.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Jun 1 05:22:37 1997 UTC (26 years, 10 months ago) by mrg
Changes since 1.15.2.1: +3 -3 lines
Diff to previous 1.15.2.1 (colored) next main 1.16 (colored)

update to trunk.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 14 16:45:22 1997 UTC (26 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

The Hydra is 20 MHz and the Pegasus is 33 MHz.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun May 4 15:19:47 1997 UTC (26 years, 11 months ago) by mrg
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 25 18:52:11 1997 UTC (26 years, 11 months ago) by gwr
Branch: MAIN
Changes since 1.14: +64 -16 lines
Diff to previous 1.14 (colored)

Moved the actual model identification work into identifycpu(),
which used to be in _startup.c:_verify_hardware().
Use sunmon_abort() in cpu_reboot() for now...

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 9 21:00:35 1997 UTC (27 years ago) by thorpej
Branch: MAIN
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored)

Adjust for new kcore.h

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 4 20:49:06 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Add a comment.

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 26 22:43:10 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.10: +5 -6 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 21 22:46:09 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.9: +54 -46 lines
Diff to previous 1.9 (colored)

First cut at crashdump support.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 17 19:03:35 1997 UTC (27 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

s/fpu_type/fputype/g

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Mar 12 14:22:22 1997 UTC (27 years, 1 month ago) by is
Changes since 1.4: +17 -435 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Merge in Changes from The Trunk.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 18 15:54:53 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.7: +9 -19 lines
Diff to previous 1.7 (colored)

Moved straytrap() to trap.c (and minor cleanup)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 14 20:00:51 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.6: +3 -412 lines
Diff to previous 1.6 (colored)

Moved sendsig(), sys_sigreturn() to sun3/sig_machdep.c
Moved regdump() and friends to sun3/regdump.c

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 12 16:06:18 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Avoid dereferencing null curproc in dumpmem().

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 12:47:20 1997 UTC (27 years, 2 months ago) by mrg
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

don't allocate swap map in allocsys.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 11 00:58:34 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.4: +18 -19 lines
Diff to previous 1.4 (colored)

Sync with sun3.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 27 22:25:20 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

Kill sunmon.h

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 23 22:48:40 1997 UTC (27 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

Use <machine/machdep.h> and <sun3/sun3/sunmon.h>

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 16 22:08:31 1997 UTC (27 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.1: +10 -9 lines
Diff to previous 1.1 (colored)

Make sure the string passed to mon_reboot() is in our data segment
where the PROM can see it.  (Bug found by Jeremy  -- Thanks!)

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 14 20:57:09 1997 UTC (27 years, 3 months ago) by gwr
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>