cvs commit: src/sys/i386/isa npx.c

Bruce Evans bde at FreeBSD.org
Sat Jun 19 15:25:05 PDT 2004


bde         2004-06-19 22:24:16 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/isa         npx.c 
  Log:
  Clear any pending exceptions before using frstor (in the non-FXSR case)
  in npxsetregs() too.  npxsetregs() must overwrite the previous state, and
  it is never paired with an npxgetregs() that would defuse the previous
  state (since npxgetregs() would have fninit'ed the state, leaving nothing
  to do).
  
  PR:             68058 (this should complete the fix)
  Tested by:      Simon Barner <barner at in.tum.de>
  
  Revision  Changes    Path
  1.152     +4 -0      src/sys/i386/isa/npx.c


More information about the cvs-src mailing list