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


Keyword substitution: kv
Default branch: MAIN


Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Dec 20 15:34:45 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Feb 23 21:54:40 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 1 05:07:16 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -3 lines
Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:45 2020 UTC (4 years, 6 months ago) by ad
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-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
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3 lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

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

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:12 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

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

Revision 1.105.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:45 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +5 -4 lines
Sync with HEAD

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:27 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 30 13:32:57 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.102.8.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.8.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 30 13:29:52 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.102.4.1: preferred, colored; next MAIN 1.102.4.2: preferred, colored
Changes since revision 1.102.4.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 30 13:27:28 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.102.4.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.4.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 27 18:43:09 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:42 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +3 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Nov 27 14:09:54 2018 UTC (6 years ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:42 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.100.2.2: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.2: +3 -5 lines
update from HEAD

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

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

Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:59 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-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
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:58 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.102.6.1: preferred, colored; branchpoint 1.102: preferred, colored
Changes since revision 1.102.6.1: +3 -3 lines
Sync with HEAD

Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:05 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3 lines
Sync with HEAD

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Nov 2 00:11:59 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3 lines
* 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 - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:42 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.102.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 26 22:15:34 2015 UTC (8 years, 11 months ago) by snj
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 26 22:14:41 2015 UTC (8 years, 11 months ago) by snj
Branches: 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
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 22 18:44:25 2015 UTC (9 years ago) by tsutsui
Branches: 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
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:23 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.100.2.1: preferred, colored
Changes since revision 1.100.2.1: +5 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.96.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:07 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.96.2.3: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.3: +5 -5 lines
sync with head.

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

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

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

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:06:32 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -5 lines
use cpu_{g,s}etmodel

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:42 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -5 lines
Resync to 2012-11-19 00:00:00 UTC

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

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Sep 21 09:05:08 2012 UTC (12 years, 2 months ago) by ryo
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -5 lines
adapt for _UC_TLSBASE.

Approved by manu@ and msaitoh@

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Jul 8 20:14:12 2012 UTC (12 years, 5 months ago) by dsl
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:08 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96.6.2: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.6.2: +16 -2 lines
sync to latest -current.

Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:48 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.96.2.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.2.1: +18 -4 lines
sync with head.

Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 15:25:58 2012 UTC (12 years, 6 months ago) by riz
Branches: 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
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +18 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon May 21 14:15:18 2012 UTC (12 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +18 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:52 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -46 lines
sync with head

Revision 1.96.6.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:34 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96.6.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.6.1: +2 -45 lines
sync to -current.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:27 2012 UTC (12 years, 9 months ago) by rmind
Branches: 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -45 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.96.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:10 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
merge to -current.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:34:10 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
CVS tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Jul 25 21:12:23 2011 UTC (13 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -576 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 25 16:06:58 2011 UTC (13 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -8 lines
Move the sh_memio_*() declarations back to sh3/include/bus_funcs.h.
Should fix the mmeye build.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Jul 25 16:02:25 2011 UTC (13 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -2 lines
#include <sys/bus.h>.  Should fix most of the SH3 ports.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Jul 20 21:30:13 2011 UTC (13 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +583 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:43 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +45 -4 lines
Sync with HEAD.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:58 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +47 -5 lines
sync with head

Revision 1.88.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:04 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.1: +14 -3 lines
Sync with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:25:28 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

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

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Feb 24 04:28:47 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +13 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:40 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +33 -3 lines
Sync with HEAD

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Jan 28 21:06:08 2011 UTC (13 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +32 -2 lines
Implement PT_STEP.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Jan 26 23:29:16 2011 UTC (13 years, 10 months ago) by uwe
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Clear MDP_SSTEP in setregs().

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:31 2011 UTC (13 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 6 11:46:02 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6, uebayasi-xip-base5, matt-mips64-premerge-20101231
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
Machine dependent code is considered as part of UVM.  Include
internal API header.

Revision 1.85.2.2: download - view: text, markup, annotated - select for diffs
Thu May 27 14:47:29 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.85.2.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.1: +1 -1 lines
Fix build.

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

Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:56 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.3: +11 -13 lines
sync with head

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

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

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Dec 10 14:13:51 2009 UTC (15 years ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3 lines
Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:13 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -6 lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:21 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -6 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Nov 21 17:40:28 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -5 lines
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

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

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:04:19 2009 UTC (15 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -3 lines
Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:22 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +8 -14 lines
Sync with HEAD.

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

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:52 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +66 -228 lines
sync with head.

Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:39 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +8 -14 lines
Sync with HEAD.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Mar 18 10:22:36 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -6 lines
Ansify function definitions w/o arguments. Generated with sed.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:15 2009 UTC (15 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -10 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:43 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -205 lines
Sync with HEAD.

Revision 1.69.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:29 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.69.6.3: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.6.3: +48 -203 lines
Sync with HEAD.

Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:25 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +7 -205 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Nov 22 01:53:41 2008 UTC (16 years ago) by uwe
Branches: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +6 -178 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:00 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -30 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:56 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +45 -2 lines
Sync with HEAD.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:18 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: 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
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +45 -2 lines
Merge wrstuden-revivesa into HEAD.

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

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

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

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

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:40 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.72.2.3: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.3: +12 -6 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 22 18:12:03 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.72.2.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.2: +43 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 4 02:04:52 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.1: +12 -6 lines
sync with head

Revision 1.69.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:39 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.69.6.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.6.1: +18 -19 lines
Sync with HEAD.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Jun 1 23:07:20 2008 UTC (16 years, 6 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 1 00:46:01 2008 UTC (16 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +10 -4 lines
Add GBR register to trapframe.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:44 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +10 -17 lines
sync with head.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:08 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -9 lines
sync with head.

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

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

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:35 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:21 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +10 -10 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:25 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -11 lines
Sync with HEAD.

Revision 1.55.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:39 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.6: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.6: +3 -11 lines
sync with head.

Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:21 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +2 -4 lines
sync with HEAD

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Mar 22 03:23:27 2008 UTC (16 years, 8 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -11 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:24 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.5: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.5: +2 -4 lines
sync with head.

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:01 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +2 -4 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Feb 15 02:34:46 2008 UTC (16 years, 10 months ago) by uwe
Branches: 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
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -4 lines
G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.

Revision 1.55.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:39:17 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.4: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.4: +18 -7 lines
sync with head

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:48:49 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +18 -7 lines
sync with HEAD

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:50:19 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +18 -7 lines
Sync with HEAD

Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:42:44 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +18 -7 lines
Sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:41 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 14 00:58:37 2007 UTC (17 years ago) by uwe
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +15 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:22:08 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +10 -7 lines
sync with HEAD

Revision 1.55.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:32 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.3: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.3: +10 -7 lines
sync with head.

Revision 1.63.8.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:34 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.63.8.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.8.1: +10 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 23 20:14:36 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.2: +10 -7 lines
Sync with head.

Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:33:04 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +10 -7 lines
sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:09 2007 UTC (17 years, 1 month ago) by garbled
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.62.10.2: download - view: text, markup, annotated - select for diffs
Tue Oct 16 18:23:50 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.62.10.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.10.1: +10 -7 lines
Sync with HEAD

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Oct 14 22:38:48 2007 UTC (17 years, 2 months ago) by uwe
Branches: MAIN
CVS tags: ppcoea-renovation-base, bouyer-xenamd64
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +10 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:26 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +4 -4 lines
Sync with head.

Revision 1.62.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:03 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -5 lines
Sync with HEAD

Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:40 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Sync with HEAD.

Revision 1.55.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:31 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.2: +8 -8 lines
sync with head.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:34 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +4 -4 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:17:39 2007 UTC (17 years, 3 months ago) by uwe
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Fix couple of whitespace glitches.

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

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

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jul 8 10:19:23 2007 UTC (17 years, 5 months ago) by pooka
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 12 05:50:15 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.1: +5 -5 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:41 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -5 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

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

Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:08 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.1: +33 -61 lines
sync with head.

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

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

Revision 1.59.14.2: download - view: text, markup, annotated - select for diffs
Thu Feb 1 06:21:07 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.59.14.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.14.1: +31 -16 lines
Get sh3 compiling.

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

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:59 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -4 lines
sync with head

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:55:39 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +13 -12 lines
sync with head.

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

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Mar 4 01:13:36 2006 UTC (18 years, 9 months ago) by uwe
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
s/u_intN_t/uintN_t/

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:32 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +8 -7 lines
sync with head.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jan 21 04:26:56 2006 UTC (18 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -7 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 24 23:24:02 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

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

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

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

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

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:21:36 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48.2.2: preferred, colored
Changes since revision 1.48.2.2: +2 -2 lines
Fix the sync with head I botched.

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

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:40:18 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +128 -89 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:19 2003 UTC (20 years, 11 months ago) by pk
Branches: 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
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -57 lines
Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

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

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

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Nov 23 23:13:11 2003 UTC (21 years ago) by uwe
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +124 -30 lines
Implement siginfo for sh3.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Sep 26 12:02:56 2003 UTC (21 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs.  Test
compiled on most architectures.

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

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

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Aug 3 00:01:44 2003 UTC (21 years, 4 months ago) by uwe
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 15 03:35:58 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1 lines
__KERNEL_RCSID()

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Apr 11 22:02:33 2003 UTC (21 years, 8 months ago) by nathanw
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 2 02:56:41 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -8 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jan 18 06:33:44 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +141 -15 lines
Merge the nathanw_sa branch.

Revision 1.15.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:39:51 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.6: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.6: +28 -12 lines
sync kqueue branch with HEAD

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

Revision 1.41.6.9: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:45:24 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.41.6.8: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.6.8: +3 -3 lines
Catch up to -current.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:21:42 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 10 15:49:30 2002 UTC (22 years, 4 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.41.6.7: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.7: +2 -5 lines
Garbage-collect upcallcode.

Revision 1.41.6.7: download - view: text, markup, annotated - select for diffs
Fri Aug 2 19:51:36 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.6.6: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.6: +2 -2 lines
LWPify sigexit() call.

Revision 1.41.6.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:43:19 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.6.5: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.5: +26 -10 lines
Catch up to -current.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 17 01:42:35 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +26 -10 lines
catch up with -current.

Revision 1.41.6.5: download - view: text, markup, annotated - select for diffs
Fri Jul 5 02:43:11 2002 UTC (22 years, 5 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.41.6.4: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.4: +3 -3 lines
When delivering an upcall, invoke the upcall directly, using the
trampoline only to exit if the upcall returns.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Jul 4 23:32:06 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +20 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 24 22:07:22 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.6.3: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.3: +2 -2 lines
Curproc->curlwp renaming.

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

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

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jun 23 18:49:33 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 18:35:07 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:40:53 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.5: preferred, colored
Changes since revision 1.15.2.5: +125 -179 lines
catch up with -current on kqueue branch

Revision 1.41.6.3: download - view: text, markup, annotated - select for diffs
Fri Jun 21 21:26:34 2002 UTC (22 years, 5 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.41.6.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.2: +69 -21 lines
Add support for scheduler activations on SuperH.  Boots multi-user
on Dreamcast (SH4) with stock userland.

Revision 1.41.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 23:00:51 2002 UTC (22 years, 5 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.41.6.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.6.1: +645 -0 lines
Machine-dependent kernel portion of {get,set}context().  From
Klaus Klein.

Revision 1.41.6.1
Fri May 10 15:25:13 2002 UTC (22 years, 7 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.41: +0 -564 lines
file sh3_machdep.c was added on branch nathanw_sa on 2002-06-20 23:00:51 +0000

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri May 10 15:25:13 2002 UTC (22 years, 7 months ago) by uch
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: nathanw_sa, gehenna-devsw
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -11 lines
remove COMPAT_13 staff. No 1.3 release of sh3 port. these are trace of
i386 port.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu May 9 12:28:09 2002 UTC (22 years, 7 months ago) by uch
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +55 -133 lines
new pmap designed for SH3/SH4.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Apr 29 09:33:30 2002 UTC (22 years, 7 months ago) by uch
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -7 lines
remove #if 0 #endif

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Apr 28 17:10:39 2002 UTC (22 years, 7 months ago) by uch
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Use "#define<tab>", white space nits.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 22 18:57:43 2002 UTC (22 years, 7 months ago) by uch
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +18 -5 lines
make these compile with gcc -O0

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Mar 24 18:04:41 2002 UTC (22 years, 8 months ago) by uch
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +17 -22 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 18 17:00:20 2002 UTC (22 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
s/PS_STRINGS/p->p_psstr/, as requested by christos

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 17 17:55:25 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +8 -15 lines
cosmetic changes, fix comments.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Mar 17 14:02:03 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +59 -20 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:43 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.4: preferred, colored
Changes since revision 1.15.2.4: +207 -21 lines
Catch up with -current.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Mar 10 07:46:13 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +79 -8 lines
proc0 and page table intialize routines are moved to sh3_machdep.c

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Mar 6 13:10:23 2002 UTC (22 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Mar 2 22:26:27 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1 lines
Initial support for KGDB on the sh3.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Feb 28 18:18:51 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
cpu_reset:
	Set EXPEVT to 0x20(manual reset) before jump to reset vector.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 28 16:54:32 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +56 -1 lines
cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Feb 28 01:56:59 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -6 lines
Cleanup register definition

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Feb 24 18:19:43 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +30 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 22 19:44:05 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +14 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 17 20:57:10 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +19 -3 lines
sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
machine locore code call this at first.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 12 15:26:50 2002 UTC (22 years, 10 months ago) by uch
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -14 lines
ANSIfy KNF.

Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:02 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +7 -6 lines
Sync w/ -current.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Feb 11 18:03:06 2002 UTC (22 years, 10 months ago) by uch
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -1 lines
add new cache routine.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Feb 3 22:28:09 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -6 lines
In setregs(), pass PS_STRINGS in r9.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Feb 1 17:52:56 2002 UTC (22 years, 10 months ago) by uch
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -1 lines
if PCLOCK isn't setted, use estimated value calculated by kernel.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:48:41 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +2 -1 lines
Sync kqueue branch with -current.

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

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 28 11:59:53 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
don't depend on other headers to include sys/proc.h for us.

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:23 2001 UTC (23 years, 3 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

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

Reviewed by Jason.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Sep 1 03:02:31 2001 UTC (23 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
s/cpu_startup/sh3_startup/g in panic messages

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:15:51 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -39 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Aug 12 08:35:33 2001 UTC (23 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -39 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 21 19:34:12 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.10.2.1: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +12 -18 lines
Catch up to -current.

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:37 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
add missing   #include "opt_kgdb.h"

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Sat May 26 15:28:48 2001 UTC (23 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +7 -15 lines
Pull up revision 1.13 (requested by kleink):
  Validate Status Register passed from userland in sigreturn().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed May 16 12:42:38 2001 UTC (23 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -15 lines
sigreturn() fix (from kleink)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:09 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

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

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:54:46 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Catch up with -current.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:27 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +1 -1 lines
Sync with HEAD.

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

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

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:01 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +10 -11 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:58:55 2000 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -11 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 20 20:24:33 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -117 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 13 15:00:22 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

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

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

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

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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 26 21:20:15 2000 UTC (24 years, 6 months ago) by thorpej
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

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

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

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

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

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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 25 12:17:07 2000 UTC (24 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -9 lines
Use P1SEG to map pool pages.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Feb 6 13:13:20 2000 UTC (24 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -96 lines
remove COMPAT_NOMID stuff

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 19 20:05:47 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -9 lines
Move callout initialization to a single location; no need to duplicate
that code all over the place.

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

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

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:16:16 1999 UTC (25 years, 2 months ago) by tsubai
Branches: 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.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>