The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.123 / (download) - annotate - [select for diffs], Tue Mar 5 14:15:33 2024 UTC (5 weeks, 3 days ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.122: +2 -8 lines
Diff to previous 1.122 (colored)

Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

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

Revision 1.122 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:05 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.121: +2 -3 lines
Diff to previous 1.121 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.119.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:35 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.119: +35 -8 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD

Revision 1.119.14.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:29 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.119: +35 -8 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with head

Revision 1.121 / (download) - annotate - [select for diffs], Fri Oct 19 13:40:33 2018 UTC (5 years, 5 months ago) by tsutsui
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, 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, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.120: +11 -2 lines
Diff to previous 1.120 (colored)

Reorganize APbus zs(4) console handling.

- set sccport0a address on early startup and use it for cnputc and cngetc
- explicitly initialize zs chip in the cninit function so that zs console
  can be used even if it is not initialized by PROM firmware

Tested on both news50000 and news4000.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Oct 14 00:10:11 2018 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.119: +26 -8 lines
Diff to previous 1.119 (colored)

Add NWS-4000 support.

Based on nonaka@'s porting effort back in 2002.
See announcement on port-newsmips@ for more details:
 http://mail-index.netbsd.org/port-newsmips/2018/10/13/msg000231.html

Revision 1.114.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:33 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.114.2.1: +14 -48 lines
Diff to previous 1.114.2.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

update from HEAD

Revision 1.116.2.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:16 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.116.2.2: +3 -6 lines
Diff to previous 1.116.2.2 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Sync with HEAD

Revision 1.117.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:22 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.117.2.1: +3 -6 lines
Diff to previous 1.117.2.1 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.119 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:58 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.118: +3 -6 lines
Diff to previous 1.118 (colored)

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.116.2.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:33 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.116.2.1: +6 -5 lines
Diff to previous 1.116.2.1 (colored) to branchpoint 1.116 (colored)

Sync with HEAD

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:18 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

Sync with HEAD

Revision 1.118 / (download) - annotate - [select for diffs], Thu Jul 21 19:49:59 2016 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

Don't include <mips/locore.h> in <machine/intr.h>, introduces circular
dependencies; instead include it in the 4 driver files that need it,
and reorder it in machdep.c

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:48 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.116: +3 -35 lines
Diff to previous 1.116 (colored)

Sync with HEAD

Revision 1.117 / (download) - annotate - [select for diffs], Tue Jun 30 02:39:03 2015 UTC (8 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Branch point for: pgoyette-localcount
Changes since 1.116: +3 -35 lines
Diff to previous 1.116 (colored)

Use cpu_startup_common()

Revision 1.116 / (download) - annotate - [select for diffs], Mon Nov 24 04:06:13 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.115: +11 -11 lines
Diff to previous 1.115 (colored)

avoid shadowing a new global.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:16 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.114: +14 -13 lines
Diff to previous 1.114 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.113.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:01 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.113.4.1: +14 -13 lines
Diff to previous 1.113.4.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (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.114.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:19 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.114: +14 -13 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

sync with head

Revision 1.115 / (download) - annotate - [select for diffs], Mon Mar 24 20:05:20 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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, 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
Changes since 1.114: +14 -13 lines
Diff to previous 1.114 (colored)

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

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

sync with head

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

Fix -fno-common fallout.

Revision 1.98.10.7 / (download) - annotate - [select for diffs], Tue Feb 14 01:25:52 2012 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.98.10.6: +3 -3 lines
Diff to previous 1.98.10.6 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

mem_cluster_cnt on mips is now a u_int.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:20 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.110: +14 -93 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:16 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.109.2.1: +0 -22 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

sync with head

Revision 1.113 / (download) - annotate - [select for diffs], Wed Mar 9 13:21:36 2011 UTC (13 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.112: +2 -24 lines
Diff to previous 1.112 (colored)

Fix newsmips interrupt handling for new mips interrupt/spl framework:
 - make news3400_badaddr() work even if interrupts are disabled
   (in the old world bus error interrupt is enabled even during splhigh())
 - make ipl_sr_map values model dependent

Now GENERIC kernel boots to single user properly on R3000 NWS-3470D,
though sh(1) still gets floating point exceptions during /etc/rc scripts.
news5000 is untested (yet).

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:25 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.109: +30 -87 lines
Diff to previous 1.109 (colored)

sync with head

Revision 1.110.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:56 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.110.4.1: +29 -49 lines
Diff to previous 1.110.4.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Sun Feb 20 07:56:31 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.111: +29 -49 lines
Diff to previous 1.111 (colored)

Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:52 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.110: +3 -40 lines
Diff to previous 1.110 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:21 2011 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.110: +3 -40 lines
Diff to previous 1.110 (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.98.10.6 / (download) - annotate - [select for diffs], Wed Dec 29 08:14:43 2010 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.98.10.5: +10 -20 lines
Diff to previous 1.98.10.5 (colored) to branchpoint 1.98 (colored)

Adapt to the new interrupt framework.
Use mips_set_wbflush instead of playing preprocessor games.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:40 2010 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:39 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.107: +0 -4 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Sync with HEAD.

Revision 1.98.10.5 / (download) - annotate - [select for diffs], Sun Mar 21 17:38:34 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.98.10.4: +3 -3 lines
Diff to previous 1.98.10.4 (colored) to branchpoint 1.98 (colored)

mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'

Revision 1.97.18.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:45 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.97.18.2: +7 -17 lines
Diff to previous 1.97.18.2 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

sync with head

Revision 1.109 / (download) - annotate - [select for diffs], Tue Mar 2 17:28:08 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.108: +2 -5 lines
Diff to previous 1.108 (colored)

Remove fs_mfs.h from users because it is now unnecessary and don't
generate fs_mfs.h anymore.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:30 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.107: +2 -3 lines
Diff to previous 1.107 (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.98.10.4 / (download) - annotate - [select for diffs], Fri Feb 5 07:39:53 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.98.10.3: +4 -5 lines
Diff to previous 1.98.10.3 (colored) to branchpoint 1.98 (colored)

Change to deal with new method of invoking softints.  Remove mips/softintr.c
from config files.  Fix SYMTAB_SPACE for WGT62V43

Revision 1.98.10.3 / (download) - annotate - [select for diffs], Mon Feb 1 04:18:31 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.98.10.2: +5 -10 lines
Diff to previous 1.98.10.2 (colored) to branchpoint 1.98 (colored)

fix fallout from frame/trapframe merger.

Revision 1.98.10.2 / (download) - annotate - [select for diffs], Wed Jan 20 09:04:34 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.98.10.1: +3 -3 lines
Diff to previous 1.98.10.1 (colored) to branchpoint 1.98 (colored)

Adjust things to the new world order.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Dec 17 05:29:56 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.106: +3 -5 lines
Diff to previous 1.106 (colored)

More changes to make newsmips compile (include "assym.h, remove unused
variables, etc.)

Revision 1.106 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:09 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.105: +4 -10 lines
Diff to previous 1.105 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.105 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:12 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.104: +13 -10 lines
Diff to previous 1.104 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:19 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.103: +4 -5 lines
Diff to previous 1.103 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.98.10.1 / (download) - annotate - [select for diffs], Mon Sep 7 23:46:46 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

Deal with pcb_context being a label_t

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

sync with head.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:19 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.102: +2 -3 lines
Diff to previous 1.102 (colored)

Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

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

Sync with HEAD.

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

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

sync with head.

Revision 1.98.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:04 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.98.4.1: +3 -2 lines
Diff to previous 1.98.4.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

Sync with HEAD.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:02 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.101: +3 -2 lines
Diff to previous 1.101 (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.98.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:33 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.98: +9 -7 lines
Diff to previous 1.98 (colored)

Sync with HEAD.

Revision 1.97.14.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:21 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.97.14.1: +7 -5 lines
Diff to previous 1.97.14.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

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

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

Revision 1.101 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:35 2008 UTC (15 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (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.100 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:04 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.99: +6 -6 lines
Diff to previous 1.99 (colored)

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

Proposed on tech-kern@.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:43 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.98: +4 -2 lines
Diff to previous 1.98 (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.97.20.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:31 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.97.20.2: +2 -9 lines
Diff to previous 1.97.20.2 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with wrstuden-revivesa-base-2.

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

Sync with head.

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

Sync with HEAD.

Revision 1.98 / (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-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.97: +2 -9 lines
Diff to previous 1.97 (colored)

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

Revision 1.97.20.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:00 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.97.20.1: +2 -3 lines
Diff to previous 1.97.20.1 (colored) to branchpoint 1.97 (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.97.20.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:45 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.97: +3 -2 lines
Diff to previous 1.97 (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.95.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:32 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.95.10.1: +10 -24 lines
Diff to previous 1.95.10.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

sync with HEAD

Revision 1.95.8.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:35:49 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.95: +10 -24 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:31 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.96: +10 -24 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Sync with HEAD.

Revision 1.81.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:25:45 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.4: +10 -24 lines
Diff to previous 1.81.2.4 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with head

Revision 1.91.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:37:57 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.91.2.2: +10 -24 lines
Diff to previous 1.91.2.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Sync with HEAD.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:05 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.96: +10 -24 lines
Diff to previous 1.96 (colored)

Interrupt handling changes, in discussion since February:

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

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

sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:55 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (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.91.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:33 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.91.10.1: +38 -38 lines
Diff to previous 1.91.10.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Sync with HEAD

Revision 1.81.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:25 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.3: +46 -46 lines
Diff to previous 1.81.2.3 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:16:34 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.91.2.1: +38 -38 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored)

Sync with head.

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:06 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.91: +40 -40 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Sync with head.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 3 10:11:49 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Changes since 1.94: +27 -33 lines
Diff to previous 1.94 (colored)

Use C99 initializers.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jul 3 10:07:27 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.93: +11 -7 lines
Diff to previous 1.93 (colored)

No need to clear BSS if running kernel is loaded by the native bootloader.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jul 3 09:55:30 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.92: +4 -2 lines
Diff to previous 1.92 (colored)

Print NEWS model name right after copyright and version
as other mips ports.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:53 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

Sync with head.

Revision 1.91.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:17 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

Update to HEAD.

Revision 1.92 / (download) - annotate - [select for diffs], Thu May 17 14:51:25 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.87.2.2 / (download) - annotate - [select for diffs], Wed Apr 18 20:27:55 2007 UTC (16 years, 11 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.87.2.1: +4 -4 lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:42 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.87: +8 -8 lines
Diff to previous 1.87 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Mar 8 22:17:47 2007 UTC (17 years, 1 month ago) by he
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.90: +6 -6 lines
Diff to previous 1.90 (colored)

Change local variables kernend and v to char*, since they are used
for pointer arithmetic.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Mar 5 21:05:01 2007 UTC (17 years, 1 month ago) by dogcow
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.

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

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

Revision 1.88 / (download) - annotate - [select for diffs], Wed Feb 28 04:21:55 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored)

TRUE -> true, FALSE -> false

Revision 1.81.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:40 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.2: +2 -4 lines
Diff to previous 1.81.2.2 (colored) to branchpoint 1.81 (colored)

sync with head.

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

Merge newlock2 to head.

Revision 1.83.8.4 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:09 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.83.8.3: +2 -3 lines
Diff to previous 1.83.8.3 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Sync with head.

Revision 1.83.8.3 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:36 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.83.8.2: +2 -3 lines
Diff to previous 1.83.8.2 (colored) to branchpoint 1.83 (colored)

Remove support for SA. Ok core@.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jan 24 13:08:13 2007 UTC (17 years, 2 months ago) by hubertf
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.83.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:55 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.83.8.1: +7 -7 lines
Diff to previous 1.83.8.1 (colored) to branchpoint 1.83 (colored)

Sync with head.

Revision 1.81.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:40 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.1: +7 -35 lines
Diff to previous 1.81.2.1 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:24 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.84: +7 -7 lines
Diff to previous 1.84 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

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

Sync with head.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:37 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.84: +7 -7 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

fix softintr for following ports.  (hopefully)
	hpcmips
	evbmips
	algor
	arc
	ews4800mips
	newsmips

Revision 1.82.8.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:15 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.82.8.1: +2 -30 lines
Diff to previous 1.82.8.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Sep 13 14:50:42 2006 UTC (17 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Branch point for: yamt-splraiseipl
Changes since 1.83: +2 -30 lines
Diff to previous 1.83 (colored)

Switch newsmips to timecounters. From gdamore@ on port-newsmips
with one tweak by me, and regressions passed on NWS-5000.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:48 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with head

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:54:11 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81: +2 -5 lines
Diff to previous 1.81 (colored)

sync with head.

Revision 1.82.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:14 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:50 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with head.

Revision 1.82.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:26 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with head - hopefully this will work

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:43 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored)

sync with head

Revision 1.83 / (download) - annotate - [select for diffs], Sun Apr 9 01:18:14 2006 UTC (18 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored)

Remove declarations for cpu_model[] since it's in <sys/systm.h>.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:25 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

merge ktrace-lwp.

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

Sync with HEAD. Here we go again...

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

sync with -current

Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:06 2005 UTC (18 years, 11 months ago) by lukem
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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (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.77.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:38 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.77: +28 -41 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

sync with head.

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Sun Feb 6 08:59:22 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.3: +28 -41 lines
Diff to previous 1.70.2.3 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Feb 6 02:56:15 2005 UTC (19 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.79: +6 -2 lines
Diff to previous 1.79 (colored)

Oops, backout previous. They are actually needed there.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Feb 6 02:40:14 2005 UTC (19 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.78: +2 -6 lines
Diff to previous 1.78 (colored)

Remove function decls which are in <machine/intr.h>

Revision 1.78 / (download) - annotate - [select for diffs], Sun Feb 6 02:18:03 2005 UTC (19 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.77: +28 -41 lines
Diff to previous 1.77 (colored)

Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.

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

Fix the sync with head I botched.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:38:10 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.1: +0 -0 lines
Diff to previous 1.70.2.1 (colored)

Sync with HEAD.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:38:29 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70: +48 -72 lines
Diff to previous 1.70 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:16 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:17 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.75: +3 -69 lines
Diff to previous 1.75 (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.75 / (download) - annotate - [select for diffs], Sun Nov 23 08:54:57 2003 UTC (20 years, 4 months ago) by taca
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Move initialization of `ssym' and `esym' to inside of
#if NKSYMS || defined(DDB) || defined(LKM) ... #endif.

Now GENERIC and INSTALL kernel can be compiled again.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 23 00:09:11 2003 UTC (20 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.73: +8 -2 lines
Diff to previous 1.73 (colored)

Suppress uninitialized warnings.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Oct 26 14:52:52 2003 UTC (20 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Cast through (void *) to appease gcc3. (now it's also warned on mipseb)

Revision 1.72 / (download) - annotate - [select for diffs], Sat Oct 25 04:07:28 2003 UTC (20 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.71: +6 -3 lines
Diff to previous 1.71 (colored)

Switch to use MI mk48txx(4) and todr(9) for MK48T02 todclocks on newsmips.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:54 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.70: +36 -3 lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Sun May 25 14:02:49 2003 UTC (20 years, 10 months ago) by tsutsui
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.69: +55 -39 lines
Diff to previous 1.69 (colored)

Add MI softintr(9) support with common mips/softintr.c.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Apr 26 18:50:19 2003 UTC (20 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.68: +2 -6 lines
Diff to previous 1.68 (colored)

- Declare common functions in cpu.h
- Rename some machine dependent functions for consistency.
- Remove register declarations.
- Some KNF.

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

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

Revision 1.67 / (download) - annotate - [select for diffs], Sat Apr 19 14:44:39 2003 UTC (20 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.66: +6 -13 lines
Diff to previous 1.66 (colored)

- remove obsolete #if 0'ed out code
- remove some leading/trailing spaces

Revision 1.66 / (download) - annotate - [select for diffs], Wed Apr 2 04:17:52 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Use PAGE_SIZE rather than NBPG.

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

Merge the nathanw_sa branch.

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:12 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.60.2.7: +2 -3 lines
Diff to previous 1.60.2.7 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Catch up to -current.

Revision 1.58.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:34:35 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.58.2.4: +2 -3 lines
Diff to previous 1.58.2.4 (colored) to branchpoint 1.58 (colored) next main 1.59 (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.60.2.7 / (download) - annotate - [select for diffs], Sat Oct 5 07:57:31 2002 UTC (21 years, 6 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.60.2.6: +6 -6 lines
Diff to previous 1.60.2.6 (colored) to branchpoint 1.60 (colored)

LWPify

Revision 1.64 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:15 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

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

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:38:19 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.58.2.3: +5 -35 lines
Diff to previous 1.58.2.3 (colored) to branchpoint 1.58 (colored)

sync kqueue branch with HEAD

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:32 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.61: +5 -35 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

catch up with -current.

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

Catch up to -current.

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

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

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Tue Aug 13 02:18:36 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.4: +3 -32 lines
Diff to previous 1.60.2.4 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Aug 4 01:41:27 2002 UTC (21 years, 8 months ago) by gmcgarry
Branch: MAIN
Changes since 1.61: +3 -32 lines
Diff to previous 1.61 (colored)

Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.

For now, only pmax implements CPU_BOOTED_KERNEL.  Need to revisit.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Mon Jun 24 22:06:35 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.3: +3 -3 lines
Diff to previous 1.60.2.3 (colored) to branchpoint 1.60 (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.60.2.3 / (download) - annotate - [select for diffs], Wed May 29 21:31:53 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.2: +3 -2 lines
Diff to previous 1.60.2.2 (colored) to branchpoint 1.60 (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.60.2.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:41:43 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.1: +738 -0 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored)

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

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:03 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.58.2.2: +13 -3 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored)

Catch up with -current.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Mar 5 16:13:57 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.60: +13 -3 lines
Diff to previous 1.60 (colored)

Provide a L2 cache configuration function.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:47:02 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.58.2.1: +12 -2 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

Sync kqueue branch with -current.

Revision 1.60.2.1, Wed Nov 14 18:15:31 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60: +0 -728 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2002-04-01 07:41:43 +0000

Revision 1.60 / (download) - annotate - [select for diffs], Wed Nov 14 18:15:31 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Branch point for: nathanw_sa
Changes since 1.59: +12 -2 lines
Diff to previous 1.59 (colored)

Merge the thorpej-mips-cache branch onto the trunk.  This is an
overhaul of how caches are handled for NetBSD's MIPS ports.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 22:24:11 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.59: +12 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Make the newsmips port compile with the thorpej-mips-cache branch.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:13 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Catch up with -current.

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

Update the kqueue branch to HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:20 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (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.52.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:30:09 2001 UTC (22 years, 9 months ago) by nathanw
Changes since 1.52.2.1: +20 -13 lines
Diff to previous 1.52.2.1 (colored) next main 1.53 (colored)

Catch up to -current.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:17 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.57: +5 -5 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Tue Apr 24 15:41:40 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.56: +8 -3 lines
Diff to previous 1.56 (colored)

Do the first allocsys() pass (the pass that computes sizes) before
calling pmap_bootstrap(); pmap_bootstrap() needs some of the size
information computed by allocsys().

Revision 1.56 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:05 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Mon Apr 23 23:50:23 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored)

Call pmap_bootstrap() before calling uvm_pageboot_alloc(), so that
the kernel virtual address space bounds will be set up.

Revision 1.30.2.6 / (download) - annotate - [select for diffs], Mon Apr 23 09:41:58 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.5: +4 -4 lines
Diff to previous 1.30.2.5 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Apr 22 18:21:50 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Use uvm_pageboot_alloc() for early memory allocation, rather than
calling pmap_steal_memory() directly.  On these platforms, since
uvm_pageboot_alloc() is a wrapper around pmap_steal_memory(), there
is no functional change.  This is merely for API consistency.

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

Catch up with -current.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:16 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.4: +3 -3 lines
Diff to previous 1.30.2.4 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:45 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (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.30.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 19:11:24 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.3: +2 -22 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Feb 5 13:10:07 2001 UTC (23 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.51: +2 -18 lines
Diff to previous 1.51 (colored)

Remove obsolete cpu_exec_ecoff_hook().

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jan 22 13:56:59 2001 UTC (23 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.50: +2 -6 lines
Diff to previous 1.50 (colored)

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.30.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 09:22:50 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.2: +1 -1 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 15 20:19:55 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

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

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:28:52 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.1: +11 -13 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Nov 27 05:57:26 2000 UTC (23 years, 4 months ago) by soren
Branch: MAIN
Changes since 1.48: +11 -13 lines
Diff to previous 1.48 (colored)

Consistently use pmap_steal_memory() to allocate USPACE.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:17:31 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30: +244 -210 lines
Diff to previous 1.30 (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.48 / (download) - annotate - [select for diffs], Fri Oct 13 17:22:52 2000 UTC (23 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Make this compile without "options news5000".

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 12 03:10:07 2000 UTC (23 years, 6 months ago) by onoe
Branch: MAIN
Changes since 1.46: +53 -45 lines
Diff to previous 1.46 (colored)

Support scsi boot device for NWS-5000.
Support NWS-3700, which is very similar with NWS-3400.
Do not depend on modelid of idrom, which is useless in most cases.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:20 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (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.41.4.2 / (download) - annotate - [select for diffs], Sun Aug 13 09:09:28 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.41.4.1: +3 -5 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

pullup from trunk (approved by thorpej):
retire RB_DFLTROOT, it's no longer used

revisions pulled up:
arch/i386/stand/lib/netbsd_opts.c	1.3
arch/i386/stand/biosboot/main.c		1.23
arch/i386/stand/dosboot/main.c		1.15
arch/i386/stand/netboot/main.c		1.6
arch/arc/arc/machdep.c			1.42
arch/bebox/stand/boot/boot.c		1.11
arch/hpcmips/hpcmips/machdep.c		1.32
arch/newsmips/newsmips/machdep.c	1.45
arch/pc532/stand/boot/boot.c		1.2
arch/pmax/pmax/machdep.c		1.178
arch/prep/stand/boot/boot.c		1.2
arch/sparc/sparc/autoconf.c		1.141
arch/sparc64/sparc64/autoconf.c		1.38
arch/x68k/stand/loadbsd/loadbsd.c	1.5
arch/mvme68k/stand/libsa/parse_args.c	1.6
compat/osf1/osf1_cvt.c			1.9
sys/reboot.h				1.17

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jul 29 20:06:28 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.44: +3 -5 lines
Diff to previous 1.44 (colored)

g/c RB_DFLTROOT

I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Wed Jul 19 00:25:26 2000 UTC (23 years, 9 months ago) by jeffs
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (colored)

Pull up cpu_intr() prototype + platform dependent machdeps.
(approved by thorepj).

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 14 18:35:40 2000 UTC (23 years, 9 months ago) by jeffs
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43 (colored)

Use cpu_intr() definition from mips/cpu.h instead of local one.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 29 07:59:30 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.42: +3 -4 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:51 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Fri May 26 21:20:02 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Fri Apr 14 10:11:07 2000 UTC (24 years ago) by tsubai
Branch: MAIN
Changes since 1.39: +58 -32 lines
Diff to previous 1.39 (colored)

Adapt cpu_intr change.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Mar 25 10:14:14 2000 UTC (24 years ago) by nisimura
Branch: MAIN
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

Make sure proc0 PCB has spl0 condition in CP0 status register field.

cpu_fork() mistakenly created processes forked by proc0, including
kthreads, in splhigh condition, because [1] proc0's PCB was zero
cleared during initialization, and [2] value 0 in status register
field made processes to have splhigh condition when CPU tick was
assigned for them.  This mostly doesn't matter as forked processes
dive immediately into user mode through proc_trampoline code path,
however, kthreads never do that and remain in splhigh.

Reported by Ethan Solomita <ethan@geocast.com>.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 3 08:36:21 2000 UTC (24 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.37: +5 -6 lines
Diff to previous 1.37 (colored)

Make clearer a bit how proc0's USPACE is intialized.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:44 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.36: +2 -11 lines
Diff to previous 1.36 (colored)

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

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

check whether tv_usec >= 1000000

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:10 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.30: +74 -13 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Pull up to last week's -current.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 26 09:05:39 1999 UTC (24 years, 3 months ago) by tsubai
Branch: MAIN
Changes since 1.34: +19 -3 lines
Diff to previous 1.34 (colored)

Use software interrupt.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Dec 23 07:06:44 1999 UTC (24 years, 3 months ago) by tsubai
Branch: MAIN
Changes since 1.33: +3 -6 lines
Diff to previous 1.33 (colored)

Remove 2 more unnecessary debugging codes.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Dec 22 05:55:26 1999 UTC (24 years, 3 months ago) by tsubai
Branch: MAIN
Changes since 1.32: +87 -148 lines
Diff to previous 1.32 (colored)

First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 18 08:01:26 1999 UTC (24 years, 4 months ago) by tsubai
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.31: +72 -11 lines
Diff to previous 1.31 (colored)

Introduce bootinfo.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Dec 4 21:21:00 1999 UTC (24 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

CL* discarding.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 17 20:04:43 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

Centralize the declaration and clearing of `cold'.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:15 1999 UTC (24 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.28: +4 -9 lines
Diff to previous 1.28 (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.24.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:53:41 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.24.2.1: +21 -12 lines
Diff to previous 1.24.2.1 (colored) next main 1.25 (colored)

Sync w/ -current.

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 26 19:16:33 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Thu May 20 08:21:45 1999 UTC (24 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.26: +11 -8 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Tue May 18 01:36:52 1999 UTC (24 years, 11 months ago) by nisimura
Branch: MAIN
Changes since 1.25: +10 -4 lines
Diff to previous 1.25 (colored)

- Move MachSetPID(1) call to pmap_bootstrap() adajacent to kernel pmap
initialization code.
- Abandon mips_init_proc0() and do the 4 lines straightly in MD mach_init().
- Restore a block of code accidentally lost in prevous commit.
- Change the term 'tlbpid' to a MIPS3 nomenclature 'asid'.
- Hide PTE size exposures by symbolic names in locore.S

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Fri Apr 16 16:20:49 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.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

pull up 1.24 -> 1.25:
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.25 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:08 1999 UTC (25 years ago) by chs
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:48 1999 UTC (25 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.23: +2 -7 lines
Diff to previous 1.23 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:32 1999 UTC (25 years ago) by mycroft
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Fri Mar 26 07:07:06 1999 UTC (25 years ago) by tsubai
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

<mips/db_machdep.h> --> <machine/db_machdep.h>

Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 26 00:15:05 1999 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +6 -5 lines
Diff to previous 1.20 (colored)

Don't bother allocating mb_map on these systems.  Mbuf clusters are
allocated from a pool, and the MIPS and Alpha use KSEG to map pool
pages.  So, mb_map wasn't actually being used.  Saves around 4MB of
kernel virtual address space in a typical configuration.

Garbage-collect the related VM_MBUF_SIZE constant.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:07 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.19: +2 -62 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Mon Feb 1 00:32:20 1999 UTC (25 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored)

- Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving).

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

Garbage-collect `mbutl'.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 26 00:53:49 1998 UTC (25 years, 3 months ago) by tsubai
Branch: MAIN
Changes since 1.16: +11 -10 lines
Diff to previous 1.16 (colored)

Make configurable with no frame buffer.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 28 23:42:48 1998 UTC (25 years, 6 months ago) by erh
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

This should need opt_execfmt.h.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 21 14:52:30 1998 UTC (25 years, 7 months ago) by tsubai
Branch: MAIN
Changes since 1.14: +19 -18 lines
Diff to previous 1.14 (colored)

Change vm_offset_t to [pv]addr_t.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 8 04:43:18 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

Define one page free list, and put all pages on it.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:33 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

defopt DDB.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 8 20:35:14 1998 UTC (25 years, 10 months ago) by tsubai
Branch: MAIN
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored)

Introduce newsmips_intr_t for intrcnt[].

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 7 06:31:17 1998 UTC (25 years, 10 months ago) by tsubai
Branch: MAIN
Changes since 1.10: +16 -19 lines
Diff to previous 1.10 (colored)

Add support for powerdown.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 3 17:46:41 1998 UTC (25 years, 11 months ago) by tsubai
Branch: MAIN
Changes since 1.9: +82 -3 lines
Diff to previous 1.9 (colored)

Add UVM support.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 1 18:41:27 1998 UTC (25 years, 11 months ago) by tsubai
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix a typo.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 30 14:12:15 1998 UTC (25 years, 11 months ago) by tsubai
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

Add NWS-3401's systype.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 4 22:22:37 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Rename NetBSD/news to NetBSD/newsmips.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 25 23:28:25 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.5: +34 -170 lines
Diff to previous 1.5 (colored)

Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
changes for MACHINE_NEW_NONCONTIG.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 23 20:05:09 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

Set the VM page size after clearing the BSS segment.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 19 23:13:33 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.3: +14 -95 lines
Diff to previous 1.3 (colored)

Use the generic NetBSD/mips crash dump code.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 19 04:18:33 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 19 00:31:08 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Include MFS option header.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 18 13:48:31 1998 UTC (26 years, 2 months ago) by tsubai
Branch: MAIN

Initial import of NetBSD/news.

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>