The NetBSD Project

CVS log for src/sys/arch/sh3/sh3/sh3_machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.112 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:40 2022 UTC (11 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:16 2021 UTC (15 months ago) by thorpej
Branch: MAIN
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:45 2020 UTC (2 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

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

Revision 1.105.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:53 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.105.16.1: +3 -3 lines
Diff to previous 1.105.16.1 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

Merge changes from current as of 20200406

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

Rename uvm_free() -> uvm_availmem().

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

uvmexp.free -> uvm_free()

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

Sync with HEAD

Revision 1.107 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:27 2019 UTC (3 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.106: +4 -3 lines
Diff to previous 1.106 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.102.8.2 / (download) - annotate - [select for diffs], Wed Jan 30 13:32:57 2019 UTC (4 years ago) by martin
Branch: netbsd-7-0
Changes since 1.102.8.1: +3 -3 lines
Diff to previous 1.102.8.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.102.4.1.4.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:29:52 2019 UTC (4 years ago) by martin
Branch: netbsd-7-1
Changes since 1.102.4.1: +3 -3 lines
Diff to previous 1.102.4.1 (colored) next main 1.102.4.2 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.102.4.2 / (download) - annotate - [select for diffs], Wed Jan 30 13:27:28 2019 UTC (4 years ago) by martin
Branch: netbsd-7
Changes since 1.102.4.1: +3 -3 lines
Diff to previous 1.102.4.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.105.8.1 / (download) - annotate - [select for diffs], Sun Jan 27 18:43:09 2019 UTC (4 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Pull up following revision(s) (requested by maxv in ticket #1173):
	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/riscv/riscv/sig_machdep.c: revision 1.2
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.105.14.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:42 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.106 / (download) - annotate - [select for diffs], Tue Nov 27 14:09:54 2018 UTC (4 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.100.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:42 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.100.2.2: +3 -5 lines
Diff to previous 1.100.2.2 (colored) next main 1.101 (colored)

update from HEAD

Revision 1.102.6.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:20 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.102.6.2: +3 -5 lines
Diff to previous 1.102.6.2 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)

Sync with HEAD

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:25 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.103.2.1: +3 -5 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

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

Revision 1.105 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:59 2016 UTC (6 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, 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, netbsd-8
Changes since 1.104: +3 -5 lines
Diff to previous 1.104 (colored)

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

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.102.6.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:58 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.102.6.1: +3 -3 lines
Diff to previous 1.102.6.1 (colored) to branchpoint 1.102 (colored)

Sync with HEAD

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:05 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

Sync with HEAD

Revision 1.104 / (download) - annotate - [select for diffs], Wed Nov 2 00:11:59 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

* Split sys/kern/sys_process.c into three parts:
        1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.

Revision 1.102.6.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:42 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.102.8.1 / (download) - annotate - [select for diffs], Sat Dec 26 22:15:34 2015 UTC (7 years, 1 month ago) by snj
Branch: netbsd-7-0
CVS Tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1051):
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.103
	sys/arch/landisk/landisk/machdep.c: revision 1.18
Remove \n from set_cpumodel(), and explicitly print \n during boot instead.
Fixes dmesg on NetBSD/dreamcast 7.0 (and probably NetBSD/hpcsh 7.0):
---
NetBSD 7.0 (GENERIC.201509250726Z)
SEGA Dreamcasttotal memory = 16384 KB
avail memory = 13668 KB
---
which was mangled when cpu_getmode() and cpu_setmodel() were introduced:
 http://mail-index.netbsd.org/source-changes/2014/03/24/msg053273.html

Revision 1.102.4.1 / (download) - annotate - [select for diffs], Sat Dec 26 22:14:41 2015 UTC (7 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Branch point for: netbsd-7-1
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1051):
	sys/arch/landisk/landisk/machdep.c: revision 1.18
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.103
Remove \n from set_cpumodel(), and explicitly print \n during boot instead.
Fixes dmesg on NetBSD/dreamcast 7.0 (and probably NetBSD/hpcsh 7.0):
---
NetBSD 7.0 (GENERIC.201509250726Z)
SEGA Dreamcasttotal memory = 16384 KB
avail memory = 13668 KB
---
which was mangled when cpu_getmode() and cpu_setmodel() were introduced:
 http://mail-index.netbsd.org/source-changes/2014/03/24/msg053273.html

Revision 1.103 / (download) - annotate - [select for diffs], Sun Nov 22 18:44:25 2015 UTC (7 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Remove \n from set_cpumodel(), and explicitly print \n during boot instead.

Fixes dmesg on NetBSD/dreamcast 7.0 (and probably NetBSD/hpcsh 7.0):
---
NetBSD 7.0 (GENERIC.201509250726Z)
SEGA Dreamcasttotal memory = 16384 KB
avail memory = 13668 KB
---
which was mangled when cpu_getmode() and cpu_setmodel() were introduced:
 http://mail-index.netbsd.org/source-changes/2014/03/24/msg053273.html

Should be pulled up to netbsd-7 and netbsd-7-0.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:23 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.100.2.1: +5 -5 lines
Diff to previous 1.100.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.96.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:07 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96.2.3: +5 -5 lines
Diff to previous 1.96.2.3 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync with head.

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

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

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:25 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.101: +5 -5 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

sync with head

Revision 1.102 / (download) - annotate - [select for diffs], Mon Mar 24 20:06:32 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: nick-nhusb, netbsd-7-0, netbsd-7
Changes since 1.101: +5 -5 lines
Diff to previous 1.101 (colored)

use cpu_{g,s}etmodel

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:42 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.100: +7 -5 lines
Diff to previous 1.100 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.96.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:19 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.96.2.2: +8 -6 lines
Diff to previous 1.96.2.2 (colored) to branchpoint 1.96 (colored)

sync with head

Revision 1.101 / (download) - annotate - [select for diffs], Fri Sep 21 09:05:08 2012 UTC (10 years, 4 months ago) by ryo
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.100: +7 -5 lines
Diff to previous 1.100 (colored)

adapt for _UC_TLSBASE.

Approved by manu@ and msaitoh@

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jul 8 20:14:12 2012 UTC (10 years, 6 months ago) by dsl
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

The MDP_USEDFPU (amd64 and sh3) and MDP_SSTEP (sh3) are lwp flags not
process ones, rename to MDL_xxx.

Revision 1.96.6.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:08 2012 UTC (10 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.6.2: +16 -2 lines
Diff to previous 1.96.6.2 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync to latest -current.

Revision 1.96.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:48 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96.2.1: +18 -4 lines
Diff to previous 1.96.2.1 (colored) to branchpoint 1.96 (colored)

sync with head.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Mon May 21 15:25:58 2012 UTC (10 years, 8 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.97: +18 -4 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Pull up following revision(s) (requested by martin in ticket #274):
	sys/arch/amd64/amd64/process_machdep.c: revision 1.20
	sys/kern/sys_lwp.c: revision 1.54
	sys/arch/sparc64/sparc64/machdep.c: revision 1.267
	sys/arch/mips/mips/cpu_subr.c: revision 1.16
	sys/arch/vax/vax/machdep.c: revision 1.188
	sys/sys/lwp.h: revision 1.161
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.98
	sys/arch/alpha/alpha/machdep.c: revision 1.339
	sys/compat/sys/ucontext.h: revision 1.6
	sys/arch/hppa/hppa/hppa_machdep.c: revision 1.28
	distrib/sets/lists/tests/mi: revision 1.469
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.42
	tests/lib/libc/sys/t_lwp_create.c: revision 1.1
	tests/lib/libc/sys/Makefile: revision 1.23
	sys/arch/arm/arm/sig_machdep.c: revision 1.42
	sys/arch/amd64/include/mcontext.h: revision 1.15
	sys/arch/amd64/amd64/machdep.c: revision 1.183
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.99
	sys/arch/i386/i386/machdep.c: revision 1.727
	sys/compat/netbsd32/netbsd32_lwp.c: revision 1.13
	sys/arch/sparc/sparc/machdep.c: revision 1.319
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.76
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.49
	sys/sys/ucontext.h: revision 1.16
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.9
	lib/libc/sys/_lwp_create.2: revision 1.5
Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.
To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.
Add an exhaustive atf test case, based partly on code from Joel Sing.
Should finally fix the remaining open part of PR kern/43903.

Revision 1.99 / (download) - annotate - [select for diffs], Mon May 21 14:15:18 2012 UTC (10 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.98: +18 -4 lines
Diff to previous 1.98 (colored)

Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:52 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96: +3 -46 lines
Diff to previous 1.96 (colored)

sync with head

Revision 1.96.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:34 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.6.1: +2 -45 lines
Diff to previous 1.96.6.1 (colored) to branchpoint 1.96 (colored)

sync to -current.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:27 2012 UTC (10 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.97: +2 -45 lines
Diff to previous 1.97 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.96.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:10 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

merge to -current.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Feb 12 16:34:10 2012 UTC (10 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jul 25 21:12:23 2011 UTC (11 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.95: +2 -576 lines
Diff to previous 1.95 (colored)

Move some macros back to sh3/include/bus_funcs.h from
sh3/sh3/sh3_machdep.c, where I moved them by mistake.

Pull the bus_space(9) routines into a new module,
sh3/sh3/sh3_bus_space.c, that is built only on !landisk.

Fixes the mmeye and landisk builds.  Should fix other sh3 ports.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Jul 25 16:06:58 2011 UTC (11 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.94: +2 -8 lines
Diff to previous 1.94 (colored)

Move the sh_memio_*() declarations back to sh3/include/bus_funcs.h.
Should fix the mmeye build.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Jul 25 16:02:25 2011 UTC (11 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (colored)

#include <sys/bus.h>.  Should fix most of the SH3 ports.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jul 20 21:30:13 2011 UTC (11 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.92: +583 -2 lines
Diff to previous 1.92 (colored)

Remove redundant, static inline bus_space(9) declarations
from sh3/bus_funcs.h and move the non-inline definitions to
sh3/sh3_machdep.c.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:43 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.88: +45 -4 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:58 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.86: +47 -5 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.88.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:04 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.88.4.1: +14 -3 lines
Diff to previous 1.88.4.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

Sync with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:28 2011 UTC (11 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

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

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

Revision 1.91 / (download) - annotate - [select for diffs], Thu Feb 24 04:28:47 2011 UTC (11 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.90: +13 -2 lines
Diff to previous 1.90 (colored)

Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

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

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:40 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.88: +33 -3 lines
Diff to previous 1.88 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jan 28 21:06:08 2011 UTC (12 years ago) by uwe
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.89: +32 -2 lines
Diff to previous 1.89 (colored)

Implement PT_STEP.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Jan 26 23:29:16 2011 UTC (12 years ago) by uwe
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

Clear MDP_SSTEP in setregs().

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:31 2011 UTC (12 years ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Nov 6 11:46:02 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, matt-mips64-premerge-20101231
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Machine dependent code is considered as part of UVM.  Include
internal API header.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Thu May 27 14:47:29 2010 UTC (12 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.85.2.1: +1 -1 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Fix build.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:48 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

Sync with HEAD.

Revision 1.71.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:56 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.71.2.3: +11 -13 lines
Diff to previous 1.71.2.3 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head

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

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

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

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

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

Revision 1.84 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:13 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.83: +5 -6 lines
Diff to previous 1.83 (colored)

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

Revision 1.83 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:21 2009 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.82: +5 -6 lines
Diff to previous 1.82 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:28 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.81: +6 -5 lines
Diff to previous 1.81 (colored)

Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.71.2.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:45 2009 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.71.2.2: +2 -3 lines
Diff to previous 1.71.2.2 (colored) to branchpoint 1.71 (colored)

sync with head.

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

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

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:22 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.78: +8 -14 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

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

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:52 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.71.2.1: +66 -228 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:39 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.76.2.1: +8 -14 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:36 2009 UTC (13 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored)

Ansify function definitions w/o arguments. Generated with sed.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:15 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.78: +4 -10 lines
Diff to previous 1.78 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:43 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.76: +7 -205 lines
Diff to previous 1.76 (colored)

Sync with HEAD.

Revision 1.69.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:29 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.6.3: +48 -203 lines
Diff to previous 1.69.6.3 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:25 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.75.2.1: +7 -205 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

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

Revision 1.78 / (download) - annotate - [select for diffs], Sat Nov 22 01:53:41 2008 UTC (14 years, 2 months ago) by uwe
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.77: +6 -178 lines
Diff to previous 1.77 (colored)

Move COMPAT_16 signal stuff to the new compat_16_machdep.c file, so
that it can be built as part of a module.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:00 2008 UTC (14 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.76: +4 -30 lines
Diff to previous 1.76 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:56 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.75: +45 -2 lines
Diff to previous 1.75 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:18 2008 UTC (14 years, 3 months ago) by wrstuden
Branch: MAIN
CVS Tags: 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-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap
Changes since 1.75: +45 -2 lines
Diff to previous 1.75 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.72.2.5 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:33 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72.2.4: +2 -9 lines
Diff to previous 1.72.2.4 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:55 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.74: +2 -9 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Sync with head.

Revision 1.69.6.3 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:17 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.6.2: +0 -7 lines
Diff to previous 1.69.6.2 (colored) to branchpoint 1.69 (colored)

Sync with HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.74: +2 -9 lines
Diff to previous 1.74 (colored)

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

Revision 1.72.2.4 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:40 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72.2.3: +12 -6 lines
Diff to previous 1.72.2.3 (colored) to branchpoint 1.72 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.72.2.3 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:03 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72.2.2: +43 -2 lines
Diff to previous 1.72.2.2 (colored) to branchpoint 1.72 (colored)

Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:52 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.70.2.1: +12 -6 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.69.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:39 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.6.1: +18 -19 lines
Diff to previous 1.69.6.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jun 1 23:07:20 2008 UTC (14 years, 8 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Recycle unused _REG_EXPEVT slot in mcontext for _REG_GBR.

As the size of mcontext is not changed, we avoid the hassle of
versioning all the calls that use it.

_REG_EXPEVT was never used by any code in the tree.  Reporting EXPEVT
makes sense only for signals and in that case we pass it to userland
in ksi_trap already which is official MI way to get this (MD) information.

Old binaries running on new kernels will now have their GBR set from
new mcontext, but that's ok too, as GBR was not properly supported by
old kernels (not saved in trapframe), so old binaries couldn't have
possibly used it anyway.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jun 1 00:46:01 2008 UTC (14 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.72: +10 -4 lines
Diff to previous 1.72 (colored)

Add GBR register to trapframe.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:44 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.70: +10 -17 lines
Diff to previous 1.70 (colored)

sync with head.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:08 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.71: +2 -9 lines
Diff to previous 1.71 (colored)

sync with head.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Wed May 14 19:54:10 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72.2.1: +10 -10 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored)

Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:46 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.72: +12 -10 lines
Diff to previous 1.72 (colored)

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

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

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:35 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.71: +2 -9 lines
Diff to previous 1.71 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:21 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.70: +10 -10 lines
Diff to previous 1.70 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:25 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69: +3 -11 lines
Diff to previous 1.69 (colored)

Sync with HEAD.

Revision 1.55.2.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:39 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.6: +3 -11 lines
Diff to previous 1.55.2.6 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:21 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.64.2.2: +2 -4 lines
Diff to previous 1.64.2.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Sat Mar 22 03:23:27 2008 UTC (14 years, 10 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.69: +3 -11 lines
Diff to previous 1.69 (colored)

Revert interrupt stack changes.  There are some issues and, at least
in the current form, they complicate implementation of fast software
interrupts.  I'd rather get fast softints in now and may be revisit
interrupt stack later.

Revision 1.55.2.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:24 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.5: +2 -4 lines
Diff to previous 1.55.2.5 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:01 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.66: +2 -4 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 15 02:34:46 2008 UTC (14 years, 11 months ago) by uwe
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.68: +2 -4 lines
Diff to previous 1.68 (colored)

G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.

Revision 1.55.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:17 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.4: +18 -7 lines
Diff to previous 1.55.2.4 (colored) to branchpoint 1.55 (colored)

sync with head

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:48:49 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.64.2.1: +18 -7 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored)

sync with HEAD

Revision 1.66.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:50:19 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.66: +18 -7 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:44 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.66: +18 -7 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:41 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Dec 14 00:58:37 2007 UTC (15 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.66: +15 -4 lines
Diff to previous 1.66 (colored)

Use dedicated interrupt stack.  Tested on hpcsh and landisk.  This has
been sitting in my tree for quite a while.  While here s/top/bottom/
in a few places related to stacks to confirm to conventional
terminology.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:08 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.64: +10 -7 lines
Diff to previous 1.64 (colored)

sync with HEAD

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:32 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.3: +10 -7 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.63.8.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:34 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63.8.1: +10 -7 lines
Diff to previous 1.63.8.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:14:36 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.2: +10 -7 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:04 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.64: +10 -7 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:09 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.62.10.2 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:50 2007 UTC (15 years, 3 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.62.10.1: +10 -7 lines
Diff to previous 1.62.10.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Sun Oct 14 22:38:48 2007 UTC (15 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.64: +10 -7 lines
Diff to previous 1.64 (colored)

For KSTACK_DEBUG fill lwp0 switchframe with 0xb4 too to match
what we do to other lwps in sh3_setup_uarea in vm_machdep.c.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:26 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.1: +4 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored)

Sync with head.

Revision 1.62.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:03 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

Sync with HEAD

Revision 1.63.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:40 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

Sync with HEAD.

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:31 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.2: +8 -8 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:34 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Aug 20 21:17:39 2007 UTC (15 years, 5 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

Fix couple of whitespace glitches.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:16:57 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Sync with head.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:56 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 8 10:19:23 2007 UTC (15 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Initialize the link context in a signal frame to the receiving lwp's
link context instead of NULL.  Otherwise, if we got a signal while the
lwp had a link context set, the link context would be set to NULL upon
return from signal delivery.

christos@tech-kern: "I think you are right."

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:15 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.60.2.1: +5 -5 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:41 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

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

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:01 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

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

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:08 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.2.1: +33 -61 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Feb 22 16:52:56 2007 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

TRUE -> true, FALSE -> false

Revision 1.60 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:12 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.59: +31 -59 lines
Diff to previous 1.59 (colored)

Merge newlock2 to head.

Revision 1.59.14.2 / (download) - annotate - [select for diffs], Thu Feb 1 06:21:07 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.59.14.1: +31 -16 lines
Diff to previous 1.59.14.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Get sh3 compiling.

Revision 1.59.14.1 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:37 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.59: +2 -45 lines
Diff to previous 1.59 (colored)

Remove support for SA. Ok core@.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:59 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:39 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55: +13 -12 lines
Diff to previous 1.55 (colored)

sync with head.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:56 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Mar 4 01:13:36 2006 UTC (16 years, 11 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

s/u_intN_t/uintN_t/

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:32 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.57: +8 -7 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 21 04:26:56 2006 UTC (17 years ago) by uwe
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.57: +8 -7 lines
Diff to previous 1.57 (colored)

Add lint comments.  Hide computed goto in cpu_reset() from lint.
Remove infinite loop from cpu_reset(), gcc accepts computed goto as
the sign that function never returns.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:02 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:00 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

merge ktrace-lwp.

Revision 1.48.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:38 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.3: +3 -3 lines
Diff to previous 1.48.2.3 (colored) next main 1.49 (colored)

Sync with HEAD. Here we go again...

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:22 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with -current

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

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

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:21:36 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.2: +2 -2 lines
Diff to previous 1.48.2.2 (colored)

Fix the sync with head I botched.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:02 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.1: +0 -0 lines
Diff to previous 1.48.2.1 (colored)

Sync with HEAD.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:18 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48: +128 -89 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (19 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.53: +3 -57 lines
Diff to previous 1.53 (colored)

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

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

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

Revision 1.53 / (download) - annotate - [select for diffs], Sun Nov 23 23:13:11 2003 UTC (19 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.52: +124 -30 lines
Diff to previous 1.52 (colored)

Implement siginfo for sh3.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 26 12:02:56 2003 UTC (19 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs.  Test
compiled on most architectures.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:30 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.50: +3 -7 lines
Diff to previous 1.50 (colored)

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

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

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 3 00:01:44 2003 UTC (19 years, 6 months ago) by uwe
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

When passing &buffers to uvm_map, add a cast to (void *).  Without it,
gcc3 with -O2 produces "dereferencing type-punned pointer will break
strict-aliasing rules" warning.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 15 03:35:58 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

__KERNEL_RCSID()

Revision 1.48 / (download) - annotate - [select for diffs], Fri Apr 11 22:02:33 2003 UTC (19 years, 9 months ago) by nathanw
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.47: +8 -1 lines
Diff to previous 1.47 (colored)

Make cpu_getmcontext() run the PC through ras_lookup() so that kernel
getcontext() plus userlevel setcontext() (as used in libpthread) respects
the atomicity of RAS regions.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 2 02:56:41 2003 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +8 -8 lines
Diff to previous 1.46 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jan 18 06:33:44 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.45: +141 -15 lines
Diff to previous 1.45 (colored)

Merge the nathanw_sa branch.

Revision 1.15.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:39:51 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.6: +28 -12 lines
Diff to previous 1.15.2.6 (colored) next main 1.16 (colored)

sync kqueue branch with HEAD

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:54 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.41.2.1: +3 -3 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

catch up with -current.

Revision 1.41.6.9 / (download) - annotate - [select for diffs], Tue Aug 27 23:45:24 2002 UTC (20 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.41.6.8: +3 -3 lines
Diff to previous 1.41.6.8 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Catch up to -current.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:42 2002 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

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

Revision 1.41.6.8 / (download) - annotate - [select for diffs], Sat Aug 10 15:49:30 2002 UTC (20 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41.6.7: +2 -5 lines
Diff to previous 1.41.6.7 (colored) to branchpoint 1.41 (colored)

Garbage-collect upcallcode.

Revision 1.41.6.7 / (download) - annotate - [select for diffs], Fri Aug 2 19:51:36 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.6.6: +2 -2 lines
Diff to previous 1.41.6.6 (colored) to branchpoint 1.41 (colored)

LWPify sigexit() call.

Revision 1.41.6.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:19 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.6.5: +26 -10 lines
Diff to previous 1.41.6.5 (colored) to branchpoint 1.41 (colored)

Catch up to -current.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Jul 17 01:42:35 2002 UTC (20 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.41: +26 -10 lines
Diff to previous 1.41 (colored)

catch up with -current.

Revision 1.41.6.5 / (download) - annotate - [select for diffs], Fri Jul 5 02:43:11 2002 UTC (20 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41.6.4: +3 -3 lines
Diff to previous 1.41.6.4 (colored) to branchpoint 1.41 (colored)

When delivering an upcall, invoke the upcall directly, using the
trampoline only to exit if the upcall returns.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:06 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +20 -3 lines
Diff to previous 1.43 (colored)

Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.41.6.4 / (download) - annotate - [select for diffs], Mon Jun 24 22:07:22 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.6.3: +2 -2 lines
Diff to previous 1.41.6.3 (colored) to branchpoint 1.41 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jun 23 18:49:33 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +5 -4 lines
Diff to previous 1.42 (colored)

When delivering a signal, arrange for the handler to be invoked
directly.  The trampoline is now used only for the return, and
makes it another 2 instructions shorter.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jun 23 18:35:07 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +5 -7 lines
Diff to previous 1.41 (colored)

When delivering a signal, don't push the signum, code, and context pointer,
or handler onto the stack.  Instead, just stuff them into the correct
argument registers (handler is a "4th arg").

Revision 1.15.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:40:53 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.5: +125 -179 lines
Diff to previous 1.15.2.5 (colored)

catch up with -current on kqueue branch

Revision 1.41.6.3 / (download) - annotate - [select for diffs], Fri Jun 21 21:26:34 2002 UTC (20 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41.6.2: +69 -21 lines
Diff to previous 1.41.6.2 (colored) to branchpoint 1.41 (colored)

Add support for scheduler activations on SuperH.  Boots multi-user
on Dreamcast (SH4) with stock userland.

Revision 1.41.6.2 / (download) - annotate - [select for diffs], Thu Jun 20 23:00:51 2002 UTC (20 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41.6.1: +645 -0 lines
Diff to previous 1.41.6.1 (colored) to branchpoint 1.41 (colored)

Machine-dependent kernel portion of {get,set}context().  From
Klaus Klein.

Revision 1.41.6.1, Fri May 10 15:25:13 2002 UTC (20 years, 8 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.41: +0 -564 lines
FILE REMOVED

file sh3_machdep.c was added on branch nathanw_sa on 2002-06-20 23:00:51 +0000

Revision 1.41 / (download) - annotate - [select for diffs], Fri May 10 15:25:13 2002 UTC (20 years, 8 months ago) by uch
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: nathanw_sa, gehenna-devsw
Changes since 1.40: +1 -11 lines
Diff to previous 1.40 (colored)

remove COMPAT_13 staff. No 1.3 release of sh3 port. these are trace of
i386 port.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 9 12:28:09 2002 UTC (20 years, 9 months ago) by uch
Branch: MAIN
Changes since 1.39: +55 -133 lines
Diff to previous 1.39 (colored)

new pmap designed for SH3/SH4.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 29 09:33:30 2002 UTC (20 years, 9 months ago) by uch
Branch: MAIN
Changes since 1.38: +1 -7 lines
Diff to previous 1.38 (colored)

remove #if 0 #endif

Revision 1.38 / (download) - annotate - [select for diffs], Sun Apr 28 17:10:39 2002 UTC (20 years, 9 months ago) by uch
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored)

Use "#define<tab>", white space nits.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 22 18:57:43 2002 UTC (20 years, 9 months ago) by uch
Branch: MAIN
Changes since 1.36: +18 -5 lines
Diff to previous 1.36 (colored)

make these compile with gcc -O0

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 24 18:04:41 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.35: +17 -22 lines
Diff to previous 1.35 (colored)

Rework interrupt code.
 + Fully utilize SH SR.I[0:3] interrupt level.
 + software interrupt is emulated by TMU1, 2 one shot interrupt.
 + implement generic soft interrupts.
 + implement clockframe correctly.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 18 17:00:20 2002 UTC (20 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

s/PS_STRINGS/p->p_psstr/, as requested by christos

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 17 17:55:25 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.33: +8 -15 lines
Diff to previous 1.33 (colored)

cosmetic changes, fix comments.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 17 14:02:03 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.32: +59 -20 lines
Diff to previous 1.32 (colored)

kernel stack fix. old code simply P3 address converted to P1, it
caused memory destruction when kernel stack grow over 1 page.  new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:43 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.4: +207 -21 lines
Diff to previous 1.15.2.4 (colored)

Catch up with -current.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 10 07:46:13 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.31: +79 -8 lines
Diff to previous 1.31 (colored)

proc0 and page table intialize routines are moved to sh3_machdep.c

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:23 2002 UTC (20 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 2 22:26:27 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.29: +5 -1 lines
Diff to previous 1.29 (colored)

Initial support for KGDB on the sh3.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 28 18:18:51 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored)

cpu_reset:
	Set EXPEVT to 0x20(manual reset) before jump to reset vector.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 28 16:54:32 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.27: +56 -1 lines
Diff to previous 1.27 (colored)

cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 28 01:56:59 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.26: +5 -6 lines
Diff to previous 1.26 (colored)

Cleanup register definition

Revision 1.26 / (download) - annotate - [select for diffs], Sun Feb 24 18:19:43 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.25: +30 -2 lines
Diff to previous 1.25 (colored)

Move common exception vector and scheduler code to
sh3/sh3/exception_vector.S and sh3/sh3/locore_subr.S. exception
vectors are installed by sh_cpu_init().  machine/locore.S contains
kernel entry, interrupt handler, and some MD code.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 22 19:44:05 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.24: +14 -3 lines
Diff to previous 1.24 (colored)

New NetBSD/sh3 clock framework.
 + hardclock source is moved from TMU1 to TMU0.
 + SH3/SH4 common kernel support.
 + PCLOCK estimation.
 + remove duplicated code.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 17 20:57:10 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.23: +19 -3 lines
Diff to previous 1.23 (colored)

sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
machine locore code call this at first.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 12 15:26:50 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.22: +4 -14 lines
Diff to previous 1.22 (colored)

ANSIfy KNF.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:02 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.3: +7 -6 lines
Diff to previous 1.15.2.3 (colored)

Sync w/ -current.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 11 18:03:06 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.21: +10 -1 lines
Diff to previous 1.21 (colored)

add new cache routine.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 3 22:28:09 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +2 -6 lines
Diff to previous 1.20 (colored)

In setregs(), pass PS_STRINGS in r9.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 1 17:52:56 2002 UTC (21 years ago) by uch
Branch: MAIN
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (colored)

if PCLOCK isn't setted, use estimated value calculated by kernel.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:41 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.15.2.2: +2 -1 lines
Diff to previous 1.15.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:54 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Catch up with -current.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 28 11:59:53 2001 UTC (21 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

don't depend on other headers to include sys/proc.h for us.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:33 2001 UTC (21 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.15.2.1: +4 -4 lines
Diff to previous 1.15.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:23 2001 UTC (21 years, 4 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

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

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

Reviewed by Jason.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 1 03:02:31 2001 UTC (21 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

s/cpu_startup/sh3_startup/g in panic messages

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:51 2001 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.15: +1 -39 lines
Diff to previous 1.15 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 12 08:35:33 2001 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +1 -39 lines
Diff to previous 1.15 (colored)

Move _insque()/_remque() to libkern. Once remaining uses would
be converted to <sys/queue.h> macros, _insque()/_remque() would be eliminated
altogether.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:34:12 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.10.2.1: +12 -18 lines
Diff to previous 1.10.2.1 (colored) next main 1.11 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:20 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 30 15:24:37 2001 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Sat May 26 15:28:48 2001 UTC (21 years, 8 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.6: +7 -15 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up revision 1.13 (requested by kleink):
  Validate Status Register passed from userland in sigreturn().

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 16 12:42:38 2001 UTC (21 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.12: +7 -15 lines
Diff to previous 1.12 (colored)

sigreturn() fix (from kleink)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:09 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

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

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

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:46 2001 UTC (21 years, 10 months ago) by nathanw
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Catch up with -current.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:27 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.2: +1 -1 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:48 2001 UTC (21 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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

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

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:01 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +10 -11 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 22 22:58:55 2000 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.9: +10 -11 lines
Diff to previous 1.9 (colored)

split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:24:33 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +9 -117 lines
Diff to previous 1.1 (colored)

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

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

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 29 07:44:05 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:57 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

remove/move more mach vm header files:

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

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 26 21:20:15 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

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

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

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

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

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 25 12:17:07 2000 UTC (22 years, 9 months ago) by tsubai
Branch: MAIN
Changes since 1.4: +3 -9 lines
Diff to previous 1.4 (colored)

Use P1SEG to map pool pages.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 6 13:13:20 2000 UTC (23 years ago) by msaitoh
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.3: +1 -96 lines
Diff to previous 1.3 (colored)

remove COMPAT_NOMID stuff

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:47 2000 UTC (23 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +1 -9 lines
Diff to previous 1.2 (colored)

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

Revision 1.1.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:45 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Pull up to last week's -current.

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

CL* discarding.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:16 1999 UTC (23 years, 4 months ago) by tsubai
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi

Move common parts of machdep.c to sh3_machdep.c.

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




CVSweb <webmaster@jp.NetBSD.org>