Date: Sun, 25 Jul 1999 06:16:10 -0700 (PDT) From: Martin Cracauer <cracauer@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/conf LINT src/sys/i386/i386 trap.c userconfig.c src/sys/i386/include ieeefp.h trap.h src/sys/i386/isa npx.c Message-ID: <199907251316.GAA20660@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cracauer 1999/07/25 06:16:09 PDT Modified files: sys/i386/conf LINT sys/i386/i386 trap.c userconfig.c sys/i386/include ieeefp.h trap.h sys/i386/isa npx.c Log: On FPU exceptions, pass a useful error code (one of the FPE_... macros) to the signal handler, for old-style BSD signal handlers as the second (int) argument, for SA_SIGINFO signal handlers as siginfo_t->si_code. This is source-compatible with Solaris, except that we have no <siginfo.h> (which isn't even mentioned in POSIX 1003.1b). An rather complete example program is at http://www3.cons.org/cracauer/freebsd-signal.c This will be added to the regression tests in src/. This commit also adds code to disable the (hardware) FPU from userconfig, so that you can use a software FP emulator on a machine that has hardware floating point. See LINT. Revision Changes Path 1.619 +14 -8 src/sys/i386/conf/LINT 1.140 +4 -4 src/sys/i386/i386/trap.c 1.150 +3 -3 src/sys/i386/i386/userconfig.c 1.6 +2 -1 src/sys/i386/include/ieeefp.h 1.8 +19 -3 src/sys/i386/include/trap.h 1.74 +202 -24 src/sys/i386/isa/npx.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907251316.GAA20660>