Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2003 15:51:26 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 machdep.c
Message-ID:  <200309192251.h8JMpQ8I065090@repoman.freebsd.org>

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



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