The NetBSD Project

CVS log for src/sys/sys/ucontext.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat May 25 13:44:48 2024 UTC (7 months, 3 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -3 lines
ucontext.h: Expose __UCONTEXT_SIZE to userland.

But don't expose __CTASSERT(__UCONTEXT_SIZE == sizeof(ucontext_t)) to
userland.

- __UCONTEXT_SIZE will be needed soon by libc and signal trampolines
  in order to version ucontext so we can safely expand it with
  architecture extensions.

- __CTASSERT is not safe to use in header files in arbitrary
  compilation environments (although in the NetBSD kernel build it is
  safe).  Exposing the __CTASSERT in a header file used by userland
  appears to have the side effect of breaking the Firefox build in
  rustc, though the mechanism isn't entirely clear.

Firefox/rustc discussion here:
https://mail-index.netbsd.org/pkgsrc-users/2024/05/18/msg039578.html

Let's see if this makes a difference -- if it works, great; if not,
maybe it will help us to narrow down what's happening with rustc and
Firefox.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri May 24 13:50:30 2024 UTC (7 months, 4 weeks ago) by ryoon
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -7 lines
Move __UCONTEXT_SIZE inside _KERNEL like before

Fix pkgsrc/lang/rust runtime SIGILL error during pkgsrc/www/firefox build.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 18 01:21:42 2024 UTC (8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -5 lines
If <sys/mcontext.h> does not define __UCONTEXT_SIZE, define it as
sizeof(ucontext_t).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat May 18 01:16:21 2024 UTC (8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +20 -19 lines
Define the _UC_* flag bits before including <sys/mcontext.h>.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat May 18 00:37:41 2024 UTC (8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +27 -35 lines
Clean up the <sys/ucontext.h> <-> <machine/mcontext.h> interface up
a little:
- Define _UC_MD_BIT* constants for the available machine-dependent bits,
  and use those constants to define the machine-dependent bits as well
  as the machine-independent bits that have machine-dependent values.
- Explicitly generate an error if _UC_TLSBASE, _UC_SETSTACK, or
  _UC_CLRSTACK are not defined by <machine/mcontext.h>.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Feb 27 23:09:02 2018 UTC (6 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, 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, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Fix pasto in a comment.

Revision 1.13.4.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.13.4.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.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.11.12.2: download - view: text, markup, annotated - select for diffs
Sat Feb 15 10:14:10 2014 UTC (10 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.11.12.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.12.1: +3 -1 lines
add prototype for cpu_mcontext_validate

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:29 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +5 -5 lines
resync from head

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Mar 6 18:16:58 2013 UTC (11 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
Move CTASSERT a few lines down so as to not collide with the CTASSERT
in rtsock.c (relevant for compilers without __COUNTER__).  Yes,
it's a really cheap tweak.  Tweak better if it tickles your tweakybone.

Revision 1.13.4.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:58 2012 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.13.4.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.2: +39 -12 lines
sync with head

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Sep 12 02:00:54 2012 UTC (12 years, 4 months ago) by manu
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +39 -12 lines
setcontext() used to be incompatible with -lpthread since it affected
the TLS pointer, therefore wrecking the pthread environement.

Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.

We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
  (powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
  setcontext() libc stub instead of doing a plain system call.

While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
  (hopefully helpful to spot MD problems introduced with this change)

Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
  powerpc, sh3, sparc and sparc64 is left to portmasters
  sparc64

Approved by core@

Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 00:41:38 2012 UTC (12 years, 7 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.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +2 -2 lines
Pull up following revision(s) (requested by jdc in ticket #371):
	sys/compat/sys/ucontext.h: revision 1.5
	sys/sys/ucontext.h: revision 1.15
Add a semicolon to __CTASSERT() since it was removed from the macro
in cdefs.h rev 1.97 by christos.
Add missing semi-colon.

Revision 1.13.8.3: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:39 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.13.8.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.8.2: +1 -0 lines
sync to latest -current.

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:18 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.1: +2 -1 lines
sync with head.

Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Mon May 21 15:25:56 2012 UTC (12 years, 8 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 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.16: download - view: text, markup, annotated - select for diffs
Mon May 21 14:15:19 2012 UTC (12 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 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.13.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:53 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
sync with head

Revision 1.13.8.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:50 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.13.8.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.8.1: +2 -2 lines
sync to latest -current.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 18 17:59:57 2012 UTC (12 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Add a semicolon to __CTASSERT() since it was removed from the macro
in cdefs.h rev 1.97 by christos.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:51 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
sync to -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:07:00 2012 UTC (12 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:14 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +5 -1 lines
Sync with HEAD.

Revision 1.11.12.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:14:36 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -1 lines
Sync with -current

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:26 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +5 -1 lines
sync with head

Revision 1.12.8.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:52 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +5 -1 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 23 02:58:40 2011 UTC (13 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -1 lines
Fix ucontext32_t on AMD64. Add optional compile time assertions for
ucontext_t and ucontext32_t to ensure that they don't change.
Provide the constants for AMD64, ARM, i386, and M68K.

Revision 1.9.56.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:43 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9.56.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.56.2: +17 -1 lines
sync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 18 12:29:22 2009 UTC (15 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, 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, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +17 -1 lines
comment which bits of uc_flags are used by MD code.

+ * if your port needs more MD bits, please try to choose bits from _UC_MD
+ * first, rather than picking random unused bits.

Revision 1.9.56.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:36 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9.56.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.56.1: +2 -1 lines
sync with head.

Revision 1.9.52.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:41 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.9.52.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.52.1: +1 -0 lines
Sync with HEAD.

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:10 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +2 -1 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:21 2008 UTC (16 years, 3 months ago) by wrstuden
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, nick-hppapmap, 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, mjf-devfs2-base, 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-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-mips64
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
Merge wrstuden-revivesa into HEAD.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 01:34:26 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +2 -1 lines
Add getucontext32_sa() and getucontext_sa(), and use them. They
are sa-specific versions of getucontext{,32}(). The main difference
is that they do NOT require the p_lock be held. We report an empty
signal mask, both to avoid needing p_lock and because the process
signal mask is almost always 0 for SA.

Revision 1.9.52.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:34 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -8 lines
Sync with HEAD.

Revision 1.9.54.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:50 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +1 -8 lines
sync with head.

Revision 1.9.56.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:52 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -8 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:11 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -8 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:56 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.1: +1 -38 lines
sync with head.

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

Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:56 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +1 -38 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 20 08:02:21 2006 UTC (18 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -38 lines
Remove the _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT() macros
as nothing uses them and they wouldn't work as _MCONTEXT_TO_SIGCONTEXT()
and _SIGCONTEXT_TO_MCONTEXT() got deleted a while ago.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:04 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -28 lines
sync with head.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:21 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, 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: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
merge ktrace-lwp.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:13 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +1 -28 lines
Sync with HEAD. Here we go again...

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 13 03:22:32 2005 UTC (19 years, 4 months ago) by christos
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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -28 lines
extract compat netbsd32 gunk.

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

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:52 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:23 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:25:34 2005 UTC (19 years, 10 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
nuke trailing whitespace

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:33 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -3 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 18 21:26:00 2004 UTC (20 years, 6 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
add a no-op default value for _UC_UCONTEXT_ALIGN if MD code doesn't set it.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 13 18:50:43 2003 UTC (21 years, 3 months ago) by fvdl
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.3: preferred, colored
Changes since revision 1.3: +28 -1 lines
Define a few 32bit compat types (if COMPAT_NETBSD32, not exported to
userspace). Having them here is both good and bad. Good because they're
close to the actual native ones, bad because it exposes things out
of compat/netbsd32. However, putting the exclusively in the latter
requires a lot of reshuffling in the includes there, so this will
do for now.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 13 15:28:36 2003 UTC (21 years, 4 months ago) by kleink
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
Remove pointless inclusion of <sys/cdefs.h> (a pre-ANSI-KNF leftover).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jan 18 09:53:17 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +111 -0 lines
Merge the nathanw_sa branch.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 16 03:15:00 2003 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +41 -7 lines
* Include <sys/sigtypes.h> rather than <sys/signal.h> in <sys/ucontext.h>.
* Define _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT()
  macros for converting a ucontext -> sigcontext and back again.
  These macros in turn use machine-dependent macros _MCONTEXT_TO_SIGCONTEXT()
  and _SIGCONTEXT_TO_MCONTEXT() provided by <machine/signal.h>.

  The conversion process is not 100% accurate, but should be close enough.

  Also note that the mcontext conversion may not be enough for all platforms
  (m68k is a good example of this).  These macros should be used only if
  you really know what you're doing.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 23 22:59:44 2002 UTC (22 years, 11 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +3 -2 lines
Also protect the inclustion of signal.h with _STANDALONE

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 25 16:32:06 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +2 -2 lines
Include <machine/mcontext.h> after <signal.h> to get any signal definitions
needed by mcontext (such as struct sigcontext).

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:04 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +76 -0 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.1
Mon Mar 5 22:50:04 2001 UTC (23 years, 10 months ago) by nathanw
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base, thorpej-devvp, newlock-base, newlock, nathanw_sa_before_merge, nathanw_sa_base, kqueue-base, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
FILE REMOVED
file ucontext.h was initially added on branch nathanw_sa.

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>