freebsd-nq/sys/alpha
Marcel Moolenaar c5c6b7b38e Re-introduction of sigcontext.
struct sigcontext and ucontext_t/mcontext_t are defined in such
a way that both (ie struct sigcontext and ucontext_t) can be
passed on to sigreturn. The signal handler is still given a
ucontext_t for maximum flexibility.

For backward compatibility sigreturn restores the state for the
alternate signal stack from sigcontext.sc_onstack and not from
ucontext_t.uc_stack. A good way to determine which value the
application has set and thus which value to use, is still open
for discussion.

NOTE: This change should only affect those binaries that use
      sigcontext and/or ucontext_t. In the source tree itself
      this is only doscmd. Recompilation is required for those
      applications.

This commit also fixes a lot of style bugs without hopefully
adding new ones.

NOTE: struct sigaltstack.ss_size now has type size_t again. For
      some reason I changed that into unsigned int.

Parts submitted by: bde
sigaltstack bug found by: bde
1999-10-04 19:33:58 +00:00
..
alpha Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
conf make sure a trivial apm.h is created, as some people have assumed that 1999-10-01 02:41:30 +00:00
include Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
isa $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
pci This fix allows cards inserted in one of the bottem-most slots on an xp1000 1999-09-30 19:09:22 +00:00
tc Change from using a dv_xname in struct device to using 1999-10-03 20:33:43 +00:00
tlsb Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00