cvs commit: src/sys/ia64/ia64 machdep.c

Marcel Moolenaar marcel at FreeBSD.org
Fri Sep 19 15:51:30 PDT 2003


marcel      2003/09/19 15:51:26 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        machdep.c 
  Log:
  Fix the most significant KSE breakage caused by not restoring the
  restart instruction bits in the PSR. As such, we were returning
  from interrupt to the instruction in the bundle that caused us
  to enter the kernel, only now we're returning to a completely
  different bundle.
  
  While close here: add two KASSERTs to make sure that we restore
  sync contexts only when entered the kernel through a syscall and
  restore an async context only when entered the kernel through an
  interrupt, trap or fault.
  
  While not exactly here, but close enough: use suword64() when we
  copy the dirty registers from the kernel stack to the user stack.
  The code was intended to be be replaced shortly after being added,
  but that was a couple of weeks ago. I might as well avoid that it
  is a source for panics until it's replaced.
  
  Revision  Changes    Path
  1.155     +12 -4     src/sys/ia64/ia64/machdep.c


More information about the cvs-src mailing list