freebsd-nq/sys/amd64/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
apicreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
asm.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
asmacros.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
atomic.h Use the rev 1.1.2.1 code from RELENG_3 for atomic operations rather 1999-10-04 16:24:08 +00:00
bus_amd64.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bus_at386.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bus_dma.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
clock.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cpufunc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cputypes.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
db_machdep.h Fix style bug: order includes 1999-10-04 13:55:35 +00:00
elf.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
exec.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
float.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
floatingpoint.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
frame.h sigset_t change (part 3 of 5) 1999-09-29 15:06:27 +00:00
ieeefp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
md_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mptable.h Set up FPU state on the AP. 1999-09-05 20:17:40 +00:00
npx.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pcb_ext.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pcb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pci_cfgreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pcpu.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pmap.h Make pmap_mapdev() deal with non-page-aligned requests. 1999-09-11 20:31:32 +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
psl.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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
reloc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
resource.h Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are 1999-07-28 07:57:48 +00:00
segments.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
setjmp.h sigset_t change (part 3 of 5) 1999-09-29 15:06:27 +00:00
sigframe.h Fix style bugs caused by using the wrong file to copy from. That one 1999-10-03 12:55:58 +00:00
signal.h Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
smp.h Fix from Tor so that if we enter the debugger in the tristate going to 1999-09-25 18:36:31 +00:00
specialreg.h Add the CR4 values for P3 SIMD enabling support. FXSR tells the cpu that 1999-09-10 15:51:44 +00:00
sysarch.h Some reorganization of sysarch() interface: 1999-09-02 20:59:50 +00:00
trap.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tss.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