cvs commit: src/sys/amd64/amd64 exception.S

Peter Wemm peter at FreeBSD.org
Thu Jun 30 00:26:55 GMT 2005


peter       2005-06-30 00:26:54 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      exception.S 
  Log:
  Add a special-case handler for general protection faults.  It appears to
  be possible to get the swapgs state reversed if doreti traps during
  the iretq.  Attempt to handle this.  load_gs() might need special
  handling too.  Running the kernel with the user's TLS and the
  kernel's PCPU space interchanged would be bad(TM).
  
  Discovered as a result of a conversation with:  bde
  Approved by:  re
  
  Revision  Changes    Path
  1.125     +26 -3     src/sys/amd64/amd64/exception.S


More information about the cvs-src mailing list