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


Keyword substitution: kv
Default branch: MAIN


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

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

Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Dec 20 15:29:05 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.119.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:35 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +35 -8 lines
Sync with HEAD

Revision 1.119.14.1: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:29 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +35 -8 lines
Sync with head

Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Oct 19 13:40:33 2018 UTC (6 years, 1 month ago) by tsutsui
Branches: 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-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, 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
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +11 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 14 00:10:11 2018 UTC (6 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +26 -8 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:33 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.114.2.1: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.2.1: +14 -48 lines
update from HEAD

Revision 1.116.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:16 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.116.2.2: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.2: +3 -6 lines
Sync with HEAD

Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:22 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.1: +3 -6 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:58 2016 UTC (7 years, 11 months ago) by cherry
Branches: 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-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:33 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.1: +6 -5 lines
Sync with HEAD

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:18 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -4 lines
Sync with HEAD

Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Jul 21 19:49:59 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:48 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -35 lines
Sync with HEAD

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Jun 30 02:39:03 2015 UTC (9 years, 5 months ago) by matt
Branches: 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
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -35 lines
Use cpu_startup_common()

Revision 1.116: download - view: text, markup, annotated - select for diffs
Mon Nov 24 04:06:13 2014 UTC (10 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +11 -11 lines
avoid shadowing a new global.

Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:16 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +14 -13 lines
Rebase to HEAD as of a few days ago.

Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:01 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.1: +14 -13 lines
sync with head.

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

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

Revision 1.114.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:19 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +14 -13 lines
sync with head

Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:05:20 2014 UTC (10 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +14 -13 lines
- fix unused
- use cpu_{g,s}etmodel

Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:06 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -5 lines
sync with head

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Jul 28 23:08:57 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -5 lines
Fix -fno-common fallout.

Revision 1.98.10.7: download - view: text, markup, annotated - select for diffs
Tue Feb 14 01:25:52 2012 UTC (12 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.98.10.6: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.10.6: +3 -3 lines
mem_cluster_cnt on mips is now a u_int.

Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:20 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +14 -93 lines
Sync with HEAD.

Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:16 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.1: +0 -22 lines
sync with head

Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Mar 9 13:21:36 2011 UTC (13 years, 9 months ago) by tsutsui
Branches: 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
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -24 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:25 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +30 -87 lines
sync with head

Revision 1.110.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:56 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.110.4.1: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.4.1: +29 -49 lines
Sync with HEAD

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:56:31 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +29 -49 lines
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework

Revision 1.110.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:52 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -40 lines
Sync with HEAD

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:21 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -40 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.98.10.6: download - view: text, markup, annotated - select for diffs
Wed Dec 29 08:14:43 2010 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231
Diff to: previous 1.98.10.5: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.10.5: +10 -20 lines
Adapt to the new interrupt framework.
Use mips_set_wbflush instead of playing preprocessor games.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:40 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:39 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +0 -4 lines
Sync with HEAD.

Revision 1.98.10.5: download - view: text, markup, annotated - select for diffs
Sun Mar 21 17:38:34 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-k15
Diff to: previous 1.98.10.4: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.10.4: +3 -3 lines
mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'

Revision 1.97.18.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:45 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.97.18.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.18.2: +7 -17 lines
sync with head

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Mar 2 17:28:08 2010 UTC (14 years, 9 months ago) by pooka
Branches: 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
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -5 lines
Remove fs_mfs.h from users because it is now unnecessary and don't
generate fs_mfs.h anymore.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:30 2010 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -3 lines
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

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

Revision 1.98.10.4: download - view: text, markup, annotated - select for diffs
Fri Feb 5 07:39:53 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.98.10.3: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.10.3: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 1 04:18:31 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.98.10.2: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.10.2: +5 -10 lines
fix fallout from frame/trapframe merger.

Revision 1.98.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 20 09:04:34 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.98.10.1: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.10.1: +3 -3 lines
Adjust things to the new world order.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Dec 17 05:29:56 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -5 lines
More changes to make newsmips compile (include "assym.h, remove unused
variables, etc.)

Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:09 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -10 lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:12 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +13 -10 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:19 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -5 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.98.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 7 23:46:46 2009 UTC (15 years, 3 months ago) by matt
Branches: 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
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
Deal with pcb_context being a label_t

Revision 1.97.18.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:37 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.97.18.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.18.1: +2 -3 lines
sync with head.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:04:19 2009 UTC (15 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:18:10 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +3 -2 lines
Sync with HEAD.

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

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

Revision 1.98.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:29:04 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.98.4.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.4.1: +3 -2 lines
Sync with HEAD.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:02 2009 UTC (15 years, 9 months ago) by apb
Branches: 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
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -2 lines
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

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

Revision 1.97.14.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:21 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.97.14.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.14.1: +7 -5 lines
Sync with HEAD.

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:19 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +9 -7 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Nov 30 18:21:35 2008 UTC (16 years ago) by martin
Branches: MAIN
CVS tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3 lines
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

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

Proposed on tech-kern@.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:43 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -2 lines
It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

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

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

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

Revision 1.97.20.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:31 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.97.20.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.20.2: +2 -9 lines
Sync with wrstuden-revivesa-base-2.

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

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

Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:28:56 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -9 lines
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.97.20.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:00 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.97.20.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.20.1: +2 -3 lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

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

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

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

I think this reduction is very good thing.

Revision 1.97.20.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:45 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

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

Revision 1.95.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:47:32 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.95.10.1: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.10.1: +10 -24 lines
sync with HEAD

Revision 1.95.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:35:49 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +10 -24 lines
Sync with HEAD.

Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:31 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +10 -24 lines
Sync with HEAD.

Revision 1.81.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:25:45 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.81.2.4: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.4: +10 -24 lines
sync with head

Revision 1.91.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:37:57 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.91.2.2: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.2: +10 -24 lines
Sync with HEAD.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:05 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +10 -24 lines
Interrupt handling changes, in discussion since February:

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

Revision 1.95.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:19:47 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:55 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.91.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:33 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.91.10.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.10.1: +38 -38 lines
Sync with HEAD

Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:28:25 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.81.2.3: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.3: +46 -46 lines
sync with head.

Revision 1.91.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:16:34 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored
Changes since revision 1.91.2.1: +38 -38 lines
Sync with head.

Revision 1.91.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:01:06 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +40 -40 lines
Sync with head.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Jul 3 10:11:49 2007 UTC (17 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +27 -33 lines
Use C99 initializers.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Jul 3 10:07:27 2007 UTC (17 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +11 -7 lines
No need to clear BSS if running kernel is loaded by the native bootloader.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Jul 3 09:55:30 2007 UTC (17 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -2 lines
Print NEWS model name right after copyright and version
as other mips ports.

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

Revision 1.91.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:17 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4 lines
Update to HEAD.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:25 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 18 20:27:55 2007 UTC (17 years, 7 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.87.2.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.2.1: +4 -4 lines
- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:49:42 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -8 lines
Sync with HEAD.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Mar 8 22:17:47 2007 UTC (17 years, 9 months ago) by he
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +6 -6 lines
Change local variables kernend and v to char*, since they are used
for pointer arithmetic.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Mar 5 21:05:01 2007 UTC (17 years, 9 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:26 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -6 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Feb 28 04:21:55 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4 lines
TRUE -> true, FALSE -> false

Revision 1.81.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:40 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.81.2.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.2: +2 -4 lines
sync with head.

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

Revision 1.83.8.4: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:09 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.83.8.3: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.8.3: +2 -3 lines
Sync with head.

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

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 24 13:08:13 2007 UTC (17 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:55 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.83.8.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.8.1: +7 -7 lines
Sync with head.

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:40 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.1: +7 -35 lines
sync with head.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:55:24 2006 UTC (17 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:27 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -30 lines
Sync with head.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 22 17:45:37 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +7 -7 lines
fix softintr for following ports.  (hopefully)
	hpcmips
	evbmips
	algor
	arc
	ews4800mips
	newsmips

Revision 1.82.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:15 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.82.8.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.8.1: +2 -30 lines
sync with head.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Sep 13 14:50:42 2006 UTC (18 years, 3 months ago) by tsutsui
Branches: 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
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -30 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:48 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -5 lines
sync with head

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:54:11 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -5 lines
sync with head.

Revision 1.82.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:14 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -5 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.82.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:50 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -5 lines
Sync with head.

Revision 1.82.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:26 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -5 lines
sync with head - hopefully this will work

Revision 1.82.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:53:43 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -5 lines
sync with head

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Apr 9 01:18:14 2006 UTC (18 years, 8 months ago) by tsutsui
Branches: 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
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -5 lines
Remove declarations for cpu_model[] since it's in <sys/systm.h>.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:25 2005 UTC (19 years ago) by christos
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
merge ktrace-lwp.

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

Revision 1.77.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:17 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +29 -42 lines
sync with -current

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Apr 25 15:02:06 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.77.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:38 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +28 -41 lines
sync with head.

Revision 1.70.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 6 08:59:22 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.3: preferred, colored
Changes since revision 1.70.2.3: +28 -41 lines
Sync with HEAD.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Feb 6 02:56:15 2005 UTC (19 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -2 lines
Oops, backout previous. They are actually needed there.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Feb 6 02:40:14 2005 UTC (19 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -6 lines
Remove function decls which are in <machine/intr.h>

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Feb 6 02:18:03 2005 UTC (19 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +28 -41 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 21 13:19:33 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.2: preferred, colored
Changes since revision 1.70.2.2: +2 -2 lines
Fix the sync with head I botched.

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

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:38:29 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +48 -72 lines
Sync with HEAD

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:16 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
Uppercase CPU, plural is CPUs.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:17 2003 UTC (20 years, 11 months ago) by pk
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -69 lines
Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

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

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

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Nov 23 08:54:57 2003 UTC (21 years ago) by taca
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 23 00:09:11 2003 UTC (21 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +8 -2 lines
Suppress uninitialized warnings.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Oct 26 14:52:52 2003 UTC (21 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
Cast through (void *) to appease gcc3. (now it's also warned on mipseb)

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Oct 25 04:07:28 2003 UTC (21 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -3 lines
Switch to use MI mk48txx(4) and todr(9) for MK48T02 todclocks on newsmips.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:28:54 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +36 -3 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun May 25 14:02:49 2003 UTC (21 years, 6 months ago) by tsutsui
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +55 -39 lines
Add MI softintr(9) support with common mips/softintr.c.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Apr 26 18:50:19 2003 UTC (21 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -6 lines
- Declare common functions in cpu.h
- Rename some machine dependent functions for consistency.
- Remove register declarations.
- Some KNF.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Apr 26 11:05:17 2003 UTC (21 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +10 -7 lines
Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Apr 19 14:44:39 2003 UTC (21 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -13 lines
- remove obsolete #if 0'ed out code
- remove some leading/trailing spaces

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Apr 2 04:17:52 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jan 18 06:07:04 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +8 -7 lines
Merge the nathanw_sa branch.

Revision 1.60.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:39:12 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.60.2.7: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.7: +2 -3 lines
Catch up to -current.

Revision 1.58.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:34:35 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.58.2.4: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.4: +2 -3 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.60.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 5 07:57:31 2002 UTC (22 years, 2 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.60.2.6: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.6: +6 -6 lines
LWPify

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:15 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -3 lines
Don't include <sys/map.h>.

Revision 1.58.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:38:19 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.58.2.3: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.3: +5 -35 lines
sync kqueue branch with HEAD

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:45:32 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -35 lines
catch up with -current.

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

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:21:39 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 13 02:18:36 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.4: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.4: +3 -32 lines
Catch up to -current.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Aug 4 01:41:27 2002 UTC (22 years, 4 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -32 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 24 22:06:35 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.3: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.3: +3 -3 lines
Curproc->curlwp renaming.

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

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

Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Wed May 29 21:31:53 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.2: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.2: +3 -2 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

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

Revision 1.58.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:03 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.58.2.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.2: +13 -3 lines
Catch up with -current.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Mar 5 16:13:57 2002 UTC (22 years, 9 months ago) by simonb
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +13 -3 lines
Provide a L2 cache configuration function.

Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:47:02 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.1: +12 -2 lines
Sync kqueue branch with -current.

Revision 1.60.2.1
Wed Nov 14 18:15:31 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.60: +0 -728 lines
file machdep.c was added on branch nathanw_sa on 2002-04-01 07:41:43 +0000

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:15:31 2001 UTC (23 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: ifpoll-base
Branch point for: nathanw_sa
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 13 22:24:11 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +12 -2 lines
Make the newsmips port compile with the thorpej-mips-cache branch.

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

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

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:20 2001 UTC (23 years, 3 months ago) by chris
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

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

Reviewed by Jason.

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

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

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Apr 24 15:41:40 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +8 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:05 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -2 lines
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

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

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Apr 23 23:50:23 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 23 09:41:58 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.2.5: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.5: +4 -4 lines
Sync with HEAD.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Apr 22 18:21:50 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:54:19 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Catch up with -current.

Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:16 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.2.4: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.4: +3 -3 lines
Sync with HEAD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:45 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

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

Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:11:24 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.3: +2 -22 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Feb 5 13:10:07 2001 UTC (23 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -18 lines
Remove obsolete cpu_exec_ecoff_hook().

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jan 22 13:56:59 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 18 09:22:50 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +1 -1 lines
Sync with head (for UBC+NFS fixes, mostly).

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

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:28:52 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +11 -13 lines
Sync with HEAD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Nov 27 05:57:26 2000 UTC (24 years ago) by soren
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -13 lines
Consistently use pmap_steal_memory() to allocate USPACE.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:17:31 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +244 -210 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Oct 13 17:22:52 2000 UTC (24 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Make this compile without "options news5000".

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 12 03:10:07 2000 UTC (24 years, 2 months ago) by onoe
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +53 -45 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 13 15:00:20 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Sun Aug 13 09:09:28 2000 UTC (24 years, 4 months ago) by jdolecek
Branches: 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
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.1: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 29 20:06:28 2000 UTC (24 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 19 00:25:26 2000 UTC (24 years, 4 months ago) by jeffs
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -4 lines
Pull up cpu_intr() prototype + platform dependent machdeps.
(approved by thorepj).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 14 18:35:40 2000 UTC (24 years, 5 months ago) by jeffs
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -4 lines
Use cpu_intr() definition from mips/cpu.h instead of local one.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jun 29 07:59:30 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -4 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:20:51 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -4 lines
remove/move more mach vm header files:

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

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

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri May 26 21:20:02 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -2 lines
First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

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

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

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

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

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

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Apr 14 10:11:07 2000 UTC (24 years, 8 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +58 -32 lines
Adapt cpu_intr change.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Mar 25 10:14:14 2000 UTC (24 years, 8 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 3 08:36:21 2000 UTC (24 years, 9 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -6 lines
Make clearer a bit how proc0's USPACE is intialized.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Jan 19 20:05:44 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -11 lines
Move callout initialization to a single location; no need to duplicate
that code all over the place.

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

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

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 26 09:05:39 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +19 -3 lines
Use software interrupt.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Dec 23 07:06:44 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -6 lines
Remove 2 more unnecessary debugging codes.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Dec 22 05:55:26 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +87 -148 lines
First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Dec 18 08:01:26 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +72 -11 lines
Introduce bootinfo.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:21:00 1999 UTC (25 years ago) by ragge
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
CL* discarding.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 17 20:04:43 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
Centralize the declaration and clearing of `cold'.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 12 01:17:15 1999 UTC (25 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -9 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 21 00:53:41 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +21 -12 lines
Sync w/ -current.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed May 26 19:16:33 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu May 20 08:21:45 1999 UTC (25 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -8 lines
* convert to using MI allocsys(). most ports were using an MD allocsys(),
  although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 18 01:36:52 1999 UTC (25 years, 6 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +10 -4 lines
- 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 - view: text, markup, annotated - select for diffs
Fri Apr 16 16:20:49 1999 UTC (25 years, 8 months ago) by chs
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 11 04:04:08 1999 UTC (25 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Apr 1 00:17:48 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -7 lines
Don't call configure() from cpu_startup().

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:32 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -3 lines
Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Mar 26 07:07:06 1999 UTC (25 years, 8 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
<mips/db_machdep.h> --> <machine/db_machdep.h>

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Mar 26 00:15:05 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:07 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -62 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Feb 1 00:32:20 1999 UTC (25 years, 10 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -4 lines
- Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving).

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

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 26 00:53:49 1998 UTC (25 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -10 lines
Make configurable with no frame buffer.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 28 23:42:48 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
This should need opt_execfmt.h.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Aug 21 14:52:30 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +19 -18 lines
Change vm_offset_t to [pv]addr_t.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 8 04:43:18 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
Define one page free list, and put all pages on it.

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

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 8 20:35:14 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -5 lines
Introduce newsmips_intr_t for intrcnt[].

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jun 7 06:31:17 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +16 -19 lines
Add support for powerdown.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun May 3 17:46:41 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +82 -3 lines
Add UVM support.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 1 18:41:27 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Fix a typo.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Apr 30 14:12:15 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -3 lines
Add NWS-3401's systype.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 4 22:22:37 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
Rename NetBSD/news to NetBSD/newsmips.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 25 23:28:25 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +34 -170 lines
Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
changes for MACHINE_NEW_NONCONTIG.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Feb 23 20:05:09 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -2 lines
Set the VM page size after clearing the BSS segment.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 19 23:13:33 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +14 -95 lines
Use the generic NetBSD/mips crash dump code.

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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Feb 19 00:31:08 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -2 lines
Include MFS option header.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:48:31 1998 UTC (26 years, 9 months ago) by tsubai
Branches: MAIN
Initial import of NetBSD/news.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>