Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 1995 06:30:53 -0800 (PST)
From:      David Greenman <davidg>
To:        CVS-committers, cvs-sys
Subject:   cvs commit: src/sys/i386/isa isa.c npx.c
Message-ID:  <199512191430.GAA02948@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512191430.GAA02948>