freebsd-dev/sys/alpha/include
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
..
pc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
_limits.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
alpha_cpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ansi.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
asm.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
atomic.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bootinfo.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bus_memio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bus_pio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bus.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bwx.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
chipset.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
clock.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
clockvar.h [Add missing files from previous commit] 1998-06-14 13:53:12 +00:00
console.h The second phase of syscons reorganization. 1999-06-22 14:14:06 +00:00
cpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cpuconf.h Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
cpufunc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_machdep.h Add support for kernel gdb. 1998-07-05 12:24:18 +00:00
elf.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
endian.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
exec.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
float.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
floatingpoint.h libtcl expects to see ieeefp.h definitions through this header. 1998-05-13 22:40:42 +00:00
fpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
frame.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ieee.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ieeefp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_cksum.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
inst.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
intr.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
intrcnt.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ioctl_fd.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ipl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
limits.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lock.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
md_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mouse.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pal.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
param.h bdbtofsb() appears to have been unused for quite some time, if ever. 1999-09-26 18:56:43 +00:00
pcb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pmap.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
proc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
profile.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
prom.h Implement promcncheckc. 1998-07-12 16:15:06 +00:00
psl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pte.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ptrace.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
reg.h Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
reloc.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
resource.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rpb.h Add support for the DEC_ST6600 family of alphas. This includes the 1999-05-26 23:22:14 +00:00
setjmp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sgmap.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sigframe.h sigset_t change (part 3 of 5) 1999-09-29 15:06:27 +00:00
signal.h Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
stdarg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
swiz.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysarch.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
types.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ucontext.h Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
varargs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vmparam.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00