freebsd-nq/sys/i386/include
Andrew Moore 05e634ef64 From: Jeffrey Hsu <hsu@soda.berkeley.edu>
The following patch adds the addr argument to signal handlers.

The kernel with the patch is no more and no less in compliance or in
violation of POSIX and ANSI C than the kernel before the patch.

The added functionality this addr argument provides is quite useful.  It
enables an entire class of algorithms which use mprotect to trace memory
references.  Beside garbage collectors, I have heard of this technique being
applied to debuggers and profilers.  The only benchmarking I've performed is
using akcl to compile maxima:  without the kernel patch, it takes 7 hours to
compile maxima, while with stratified garbage collection, it only takes 50
minutes.

Basically, I can't think of a reason not to add the addr argument and there
is a compelling need for it.

If you find the patch acceptable, please let me know so I can send my
FreeBSD akcl config files to wfs for inclusion in the core akcl release.
The old 386BSD config files there won't work on either NetBSD or FreeBSD.
1993-12-03 05:10:08 +00:00
..
pc Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
_limits.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
ansi.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
asmacros.h First steps in rewriting locore.s, and making info useful 1993-11-13 02:25:21 +00:00
cons.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
console.h Put back the $Id$ string 1993-10-28 06:11:38 +00:00
cpu.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
cpufunc.h Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
cputypes.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
db_machdep.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
dkio.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
eflags.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
endian.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
float.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
floatingpoint.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
frame.h From: Jeffrey Hsu <hsu@soda.berkeley.edu> 1993-12-03 05:10:08 +00:00
ioctl_pc.h >From Theo Derradt 1993-09-08 19:29:54 +00:00
limits.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
mtpr.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
npx.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
param.h New version of scsi code from Julian 1993-11-18 05:03:27 +00:00
pcb.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
pio.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
pmap.h First steps in rewriting locore.s, and making info useful 1993-11-13 02:25:21 +00:00
proc.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
psl.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
pte.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
reg.h From: Jeffrey Hsu <hsu@soda.berkeley.edu> 1993-12-03 05:10:08 +00:00
segments.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
soundcard.h Move soundcard.h & ultrasound.h to proper location <machine/...> 1993-11-27 22:16:44 +00:00
speaker.h Name of ioctl's include sys/spkr.h changed to machine/speaker.h 1993-11-09 02:31:53 +00:00
specialreg.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
stdarg.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
sysarch.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
trap.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
tss.h Fixed comments that start within a comment, so code compiles cleanly with 1993-11-17 23:25:28 +00:00
types.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
ultrasound.h Move soundcard.h & ultrasound.h to proper location <machine/...> 1993-11-27 22:16:44 +00:00
vmparam.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00