The NetBSD Project

CVS log for src/sys/arch/powerpc/powerpc/sig_machdep.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Dec 20 15:29:06 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.54: preferred, colored
Changes since revision 1.54: +25 -5 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 1 05:07:15 2021 UTC (3 years, 1 month ago) by thorpej
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.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Oct 27 04:15:00 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Use the signal trampoline version constants from <sys/signal.h>.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 6 09:34:18 2020 UTC (4 years, 5 months ago) by rin
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.51: preferred, colored
Changes since revision 1.51: +5 -3 lines
Style and cosmetic changes. No binary changes intended.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jun 22 05:34:57 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -6 lines
Fix previous; hide userland ABI details for kernel as suggested by joerg:

http://mail-index.netbsd.org/source-changes-d/2020/06/21/msg012745.html

- Revive __lwp_settcb(), and call _lwp_setprivate(2) from it.

- Keep l_private opaque pointer for kernel; store raw value of %r2 in it.
  In the previous commit message, I wrote,

http://mail-index.netbsd.org/source-changes/2020/06/21/msg118524.html

> - Make sure that, like other ports, l_private represents address of tcb,
>   not biased one as in %r2.

  but, it turned out to be wrong. mips stores a biased address, at least.
  It is userland responsibility to interpret returned values from
  lwp_getprivate(2).

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jun 21 00:40:00 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -4 lines
Fix inconsistency b/w kernel and userland recognitions of TLS, as well as
inconsistency whether it is biased or not in kernel.

- Obsolete __lwp_settcb() in order to let kernel know new TLS address via
  _lwp_setprivate(2). Alternatively, we can call _lwp_setprivate(2) within
  __lwp_settcb() like mips, but it is just double handling; we adjust %r2
  appropriately in _lwp_setprivate(2) via cpu_lwp_setprivate().

- Make sure that, like other ports, l_private represents address of tcb,
  not biased one as in %r2. This guarantees that the returned values from
  _lwp_getprivate(2) and __lwp_getprivate_fast() are always same. Also,
  we can obsolete PTRACE_LWP_GETPRIVATE() macro.

Now, *_pl_private tests in tests/lib/libc/sys successfully pass, while
no other tests become newly falling.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jun 21 00:00:27 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +12 -2 lines
Fix SS_ONSTACK, which seems like broken since switched to siginfo.

Found by tests/lib/libc/sys/t_sigaltstack, which passes now, while
no other tests are not falling newly.

XXX
Shouldn't we turn _UC_{SET,CLR}STACK into MI?

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:28:59 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +2 -4 lines
Sync with HEAD

Revision 1.45.14.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:04 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.45.14.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.14.2: +0 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Sun Apr 12 08:35:40 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.46.4.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.4.1: +2 -4 lines
Pull up following revision(s) (requested by rin in ticket #826):

	lib/libpthread/arch/powerpc/pthread_md.h: revision 1.9
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.48

Revert previous:
http://mail-index.netbsd.org/source-changes/2020/02/20/msg114173.html
Comment turned out to be wrong, and KASSERT fires for oea.

XXX
Need to revisit shortly...

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Apr 11 09:15:23 2020 UTC (4 years, 8 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -4 lines
Revert previous:
http://mail-index.netbsd.org/source-changes/2020/02/20/msg114173.html

Comment turned out to be wrong, and KASSERT fires for oea.

XXX
Need to revisit shortly...

Revision 1.45.14.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:50 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.45.14.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.14.1: +4 -2 lines
Merge changes from current as of 20200406

Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:30 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -2 lines
Sync with head.

Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 27 18:48:12 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2 lines
Pull up following revision(s) (requested by rin in ticket #736):

	lib/libpthread/arch/powerpc/pthread_md.h: revision 1.8
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.47

libpthread sets initial value of MSR for lwp's. However, appropriate
value differs b/w oea/booke/ibm4xx, and there's no way to obtain it
from userland. Therefore, this initial value should be corrected by
cpu_setmcontext().

- Comment this in libpthread
- Add KASSERT in cpu_mcontext_validate()

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Feb 20 07:07:02 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2 lines
libpthread sets initial value of MSR for lwp's. However, appropriate
value differs b/w oea/booke/ibm4xx, and there's no way to obtain it
from userland. Therefore, this initial value should be corrected by
cpu_setmcontext().

- Comment this in libpthread
- Add KASSERT in cpu_mcontext_validate()

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

Revision 1.43.14.1.2.1: 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.43.14.1: preferred, colored; next MAIN 1.43.14.2: preferred, colored
Changes since revision 1.43.14.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.43.14.1.6.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.43.14.1: preferred, colored; next MAIN 1.43.14.2: preferred, colored
Changes since revision 1.43.14.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.43.14.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.43.14.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.14.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.45.6.1: download - view: text, markup, annotated - select for diffs
Sun Jan 27 18:43:08 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.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +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.45.12.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.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.46: 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: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +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.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:38 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +23 -15 lines
update from HEAD

Revision 1.43.16.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:49 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43.16.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.16.1: +12 -2 lines
Sync with HEAD

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:34 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +12 -2 lines
Sync with HEAD

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:19 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +12 -2 lines
Sync with HEAD

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Mar 5 16:09:26 2017 UTC (7 years, 9 months ago) by chs
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-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, 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
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +12 -2 lines
in cpu_setmcontext(), do not update the TLS register (r2) as part of _UC_CPU.
if _UC_TLSBASE is set, use lwp_setprivate() to update both r2 and the
common field in struct lwp.

Revision 1.43.16.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:00 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -15 lines
Sync with HEAD

Revision 1.43.14.1: download - view: text, markup, annotated - select for diffs
Wed Dec 31 06:51:08 2014 UTC (9 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, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-1, netbsd-7-0
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -15 lines
Pull up following revision(s) (requested by chs in ticket #364):
	lib/libc/tls/tls.c: revision 1.8
	libexec/ld.elf_so/tls.c: revision 1.10
	sys/arch/powerpc/include/types.h: revision 1.50
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.44
fix powerpc TLS problems by removing the hacks for PPC EABI.
the kernel no longer treats R2 specially and its use as
the TLS register is now handled entirely in userland.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Dec 14 23:49:17 2014 UTC (9 years, 11 months ago) by chs
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -15 lines
fix powerpc TLS problems by removing the hacks for PPC EABI.
the kernel no longer treats R2 specially and its use as
the TLS register is now handled entirely in userland.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:14 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
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: +15 -2 lines
sync with head

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Sep 11 00:15:19 2012 UTC (12 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, netbsd-7-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb, netbsd-7
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -2 lines
Add support for _UC_TLSBASE.  Make sure to preserve backwards compat for
programs built before TLS support was added.

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:06 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +13 -2 lines
sync to latest -current.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:47 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -2 lines
sync with head.

Revision 1.41.8.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.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +13 -2 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.42: 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.41: preferred, colored
Changes since revision 1.41: +13 -2 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.40.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:35 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +3 -2 lines
Catchup with rmind-uvmplock merge.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jun 20 05:50:39 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
cleanup includes (include <powerpc/psl.h explicitly)

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:31 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +56 -85 lines
Sync with HEAD.

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:20 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.1: +2 -2 lines
sync with head

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 16 21:15:30 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
Use l->l_md.md_utf in preference to trapframe(l).  This shrink the kernel
just a bit in size.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:41 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +57 -85 lines
sync with head

Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Wed Feb 16 21:16:13 2011 UTC (13 years, 9 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +7 -5 lines
Pull up following revision(s) (requested by jmmv in ticket #1551):
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.39 via patch
PR port-macppc/43619
Save handler before calling sendsig_reset before it will reset to SIG_DFL
is SA_RESETHAND is set.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:35 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +8 -6 lines
Sync with HEAD

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Feb 7 09:39:48 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -6 lines
PR port-macppc/43619
Save handler before calling sendsig_reset before it will reset to SIG_DFL
is SA_RESETHAND is set.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jan 18 01:02:55 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Branch point for: bouyer-quota2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +51 -82 lines
Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.32.20.2: download - view: text, markup, annotated - select for diffs
Mon Jan 17 07:46:00 2011 UTC (13 years, 10 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.32.20.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.20.1: +26 -58 lines
Add SPE (signal processing engine) support for mpc85xx/booke.  Think of it
as AltiVec-lite (really lite).  Genercize AltiVec support so that it could
the same interface could support SPE as well.  Rework the FPU support along
the same lines.  Move the __asm() to their own XXX_subr.S (altivec, fpu, spe).

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:30 2011 UTC (13 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +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.32.20.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 02:01:57 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +27 -26 lines
Adapt to new trapframe.

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:51 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.1: +6 -5 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:12 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -2 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.35: download - view: text, markup, annotated - select for diffs
Sat Nov 21 17:40:29 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -5 lines
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

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

Revision 1.32.10.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:37 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +3 -13 lines
Sync with HEAD.

Revision 1.31.16.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:26 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31.16.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.16.1: +1 -11 lines
Sync with HEAD.

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

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Nov 21 20:22:30 2008 UTC (16 years ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
The sendsig_sigcontext() here should most probably be sendsig_siginfo().
Based on hints from other developers.

Revision 1.33: 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.32: preferred, colored
Changes since revision 1.32: +3 -13 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.32.4.2: download - view: text, markup, annotated - select for diffs
Wed Oct 15 04:56:55 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.1: +2 -4 lines
Remove some now-unneeded includes. Matches previous changes to i386 code.

Revision 1.31.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:33 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
Sync with HEAD.

Revision 1.31.18.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:38 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
sync with head.

Revision 1.32.4.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.32: preferred, colored
Changes since revision 1.32: +4 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

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

Revision 1.32: 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-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, 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, matt-nb5-pq3-base, 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, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, nick-hppapmap, netbsd-5, matt-nb5-pq3, haad-dm
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 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.30.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:21:03 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -2 lines
sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:56:48 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +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.29.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:46 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.29.10.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.10.1: +0 -0 lines
Sync with HEAD

Revision 1.23.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:04 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.12.3: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.12.3: +5 -5 lines
sync with head.

Revision 1.29.10.1: download - view: text, markup, annotated - select for diffs
Thu Aug 2 05:34:24 2007 UTC (17 years, 4 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
sync with HEAD

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

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

Revision 1.30: 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: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +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.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:50:08 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +4 -4 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:38 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.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.23.12.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:57 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.12.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.12.2: +11 -8 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Feb 10 16:08:16 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Fix a pasto (mutex_exit -> mutex_enter).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:11 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -8 lines
Merge newlock2 to head.

Revision 1.25.8.3: 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.25.8.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.8.2: +3 -5 lines
Remove support for SA. Ok core@.

Revision 1.25.8.2: download - view: text, markup, annotated - select for diffs
Sun Jan 28 08:59:45 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.25.8.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.8.1: +11 -6 lines
powerpc changes.

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

Revision 1.25.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:32 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +9 -11 lines
sync with head.

Revision 1.25.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:29 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -11 lines
Sync with head.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 24 16:53:01 2006 UTC (18 years, 1 month ago) by he
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -11 lines
The new gcc propagates const-ness from structs to members, so
make local variable const as well.  Avoid writing to the now-const
variable, instead do the masking before in the trapframe register
assignment.

OK'ed by thorpej and nathanw.

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

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

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

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

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:26 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +8 -4 lines
sync with head.

Revision 1.23.20.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 22:43:48 2006 UTC (18 years, 8 months ago) by riz
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +8 -4 lines
Pull up following revision(s) (requested by shige in ticket #1223):
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.25
Make cpu_setmcontext() fix up the passed-in MSR value.

Revision 1.23.10.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 22:43:44 2006 UTC (18 years, 8 months ago) by riz
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +8 -4 lines
Pull up following revision(s) (requested by shige in ticket #1223):
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.25
Make cpu_setmcontext() fix up the passed-in MSR value.

Revision 1.24.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:47:17 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +8 -4 lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 26 16:15:57 2006 UTC (18 years, 8 months ago) by shige
Branches: MAIN
CVS tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -4 lines
Make cpu_setmcontext() fix up the passed-in MSR value.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:46 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
merge ktrace-lwp.

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

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

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:39:37 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +125 -152 lines
Sync with HEAD

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Apr 16 23:58:08 2004 UTC (20 years, 7 months ago) by matt
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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, netbsd-3-0, netbsd-3
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -11 lines
Add a SAVE/DISCARD flag to save_{fpu,vec}_lwp.  Use it appropriately.
Nuke struct fpu and use struct fpreg instead (except for the names, they
were identical).  On MP machines, this will avoid an unneeded IPI to save
the register contents that are about to discarded.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Apr 15 21:07:07 2004 UTC (20 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +41 -11 lines
Revamp how user MSR/SRR1 are dealt with.
Add a PSL_USEROK_P(psl) macro which valids the bits (replaces the use of
PSL_USERSTATIC).
Add a PSL_USERSRR1 mask which is used to mask out status bits in the upper
half of SRR1.
Make sure PSL_VEC is set appropriately in userret().  PSL_VEC is in the same
region as SSR1 status bits so it's not preserved on exceptions.  Thus we
need to make to set it.
When returning a MSR/SRR1 to userland, always clear the status bits.
Add emulation of the mfpvr, mtmsr, and mfmsr instructions.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Apr 4 17:26:10 2004 UTC (20 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -0 lines
In cpu_getmcontext, make sure the returned MSR has the FP exception mode
(PSL_FE0|PSL_FE1) saved in the PSL.  In cpu_setmcontext, copy the FP
exception bits to the PCB where they live.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Apr 4 17:20:15 2004 UTC (20 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Fix the way cpu_setmcontext was restoring FPSCR.  Make the opposite of the
way that cpu_getmcontext was saving it.  (FPSCR was being saved incorrectly
before and thus obliterated when a signal happened).

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Dec 11 18:33:52 2003 UTC (21 years ago) by matt
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Copy ksi->ksi_info, not all of ksi, to user stack.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Oct 8 00:28:42 2003 UTC (21 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
* Shuffle some data structures so, and add a flags word to ksiginfo_t.
  Right now the only flag is used to indicate if a ksiginfo_t is a
  result of a trap.  Add a predicate macro to test for this flag.
* Add initialization macros for ksiginfo_t's.
* Add accssor macro for ksi_trap.  Expands to 0 if the ksiginfo_t was
  not the result of a trap.  This matches the sigcontext trapcode semantics.
* In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal.
  Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles
  the case of non-trap-generated signals that have a > 0 si_code.

This patch fixes a signal delivery problem with threaded programs noted by
Matthias Drochner on tech-kern.

As discussed on tech-kern.  Reviewed and OK's by Christos.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Sep 27 03:51:54 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
Use ksi_signo instead of _signo.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Sep 26 18:00:47 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Copy out the entire ksiginfo_t, not just the first word.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Sep 25 22:04:17 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
constify siginfo/trapsignal

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 25 21:59:55 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +24 -15 lines
Use direct entry for siginfo trampoline.  Deal with missing
legacy trampolines in a cleaner manner.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Sep 25 18:42:18 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +54 -135 lines
Add siginfo support for PowerPC.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:54:48 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1 lines
__KERNEL_RCSID()

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 3 21:48:02 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +36 -6 lines
Don't use trapframe in sigcontext.  Instead define a new structure
utrapframe that fixed in size (and the same size as the trapframe
in NetBSD 1.5).  This preserves binary compatibility for those programs
that dealt looked at sigcontexts.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jan 20 05:26:47 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +20 -20 lines
Kill all references to struct __gregs and use the _REG_xx names.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:58:19 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -14 lines
Cast to register_t, not int, to be more _LP64 friendly.

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

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:39:27 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +31 -14 lines
sync kqueue branch with HEAD

Revision 1.5.8.10: download - view: text, markup, annotated - select for diffs
Tue Aug 27 20:06:36 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.5.8.9: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.9: +8 -10 lines
Adapt to changes in FPU handling in cpu_{get,set}mcontext().

Revision 1.5.8.9: download - view: text, markup, annotated - select for diffs
Thu Aug 1 04:05:45 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.8: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.8: +6 -6 lines
LWPify

Revision 1.5.8.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:43:11 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.7: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.7: +31 -14 lines
Catch up to -current.

Revision 1.5.16.1: download - view: text, markup, annotated - select for diffs
Tue Jul 16 13:10:00 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +31 -14 lines
catch up with -current.

Revision 1.5.8.7: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:46 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.6: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.6: +1 -2 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.7: 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
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.6: preferred, colored
Changes since revision 1.6: +31 -10 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.6: download - view: text, markup, annotated - select for diffs
Thu Jul 4 20:22:50 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -5 lines
Eliminate two unused sigframe members.

Revision 1.5.8.6: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:07:12 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.5: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.5: +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.5.8.5: download - view: text, markup, annotated - select for diffs
Wed May 29 21:31:55 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.4: +2 -1 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.5.8.4: download - view: text, markup, annotated - select for diffs
Tue Apr 2 00:53:10 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.8.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.3: +3 -5 lines
The memcpy(9) function takes a byte length to copy, not a number of
array elements. Therefore, when computing the size of the
floating-point register storage, don't divide by the size of a single
FP register.

cpu_setmcontext() and cpu_getmcontext() now operate on all 32 FP
registers, not just the first four.

Revision 1.5.8.3: download - view: text, markup, annotated - select for diffs
Sat Nov 17 22:14:17 2001 UTC (23 years ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.5.8.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.2: +1 -9 lines
Update to Current World Order.

Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:46:18 2001 UTC (23 years, 1 month ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.1: +265 -0 lines
Initial SA support for ppc.  Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:32:35 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3 lines
Catch up to -current.

Revision 1.5.8.1
Mon May 28 00:12:21 2001 UTC (23 years, 6 months ago) by briggs
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.5: +0 -160 lines
file sig_machdep.c was added on branch nathanw_sa on 2001-11-05 19:46:18 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 28 00:12:21 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue, gehenna-devsw
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Change the bcopy's to structure assignments.

Revision 1.3.6.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:34:57 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.6.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.2: +10 -11 lines
Sync with HEAD

Revision 1.4: 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
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +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.3.6.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:31:17 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.6.1: +161 -0 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.3.6.1
Mon Apr 3 10:23:24 2000 UTC (24 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.3: +0 -161 lines
file sig_machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:31:17 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 3 10:23:24 2000 UTC (24 years, 8 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: thorpej_scsipi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
When call a signal handler, don't pass the kernel (local) address in r5.

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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 22 13:26:59 1999 UTC (25 years ago) by tsubai
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Branch point for: wrstuden-devbsize
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
Need opt_compat_netbsd.h.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Nov 17 14:56:11 1999 UTC (25 years, 1 month ago) by kleink
Branches: MAIN
Move signal management code common to all PowerPC platforms (sendsig(),
sigreturn(), sigcode) to a single place in the shared powerpc directory.
(The struct sigcontext etc. definitions were already being shared.)

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>