From owner-cvs-sys Tue Dec 19 06:30:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02962 for cvs-sys-outgoing; Tue, 19 Dec 1995 06:30:56 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02948 Tue, 19 Dec 1995 06:30:53 -0800 (PST) Date: Tue, 19 Dec 1995 06:30:53 -0800 (PST) From: David Greenman Message-Id: <199512191430.GAA02948@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.c npx.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/19 06:30:52 Modified: sys/i386/i386 exception.s machdep.c trap.c sys/i386/include cpufunc.h sys/i386/isa isa.c npx.c Log: Implemented a (sorely needed for years) double fault handler to catch stack overflows. It sure would be nice if there was an unmapped page between the PCB and the stack (and that the size of the stack was configurable!). With the way things are now, the PCB will get clobbered before the double fault handler gets control, making somewhat of a mess of things. Despite this, it is still fairly easy to poke around in the overflowed stack to figure out the cause. Revision Changes Path 1.13 +1 -3 src/sys/i386/i386/exception.s 1.161 +44 -29 src/sys/i386/i386/machdep.c 1.67 +31 -3 src/sys/i386/i386/trap.c 1.43 +2 -2 src/sys/i386/include/cpufunc.h 1.59 +4 -3 src/sys/i386/isa/isa.c 1.27 +3 -3 src/sys/i386/isa/npx.c