AMD64 - Fix bogus signal interruption
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 04:03:08 +0000 (21:03 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 04:04:38 +0000 (21:04 -0700)
commit16094a3633ce22ff4861d6381dd804538bcd25c5
treed23b543aa5b0d458a55796b5312c6e9e11bebb6e
parentac9389d5094fc38bd660bc661dbd366206abe971
AMD64 - Fix bogus signal interruption

* The TF_XFLAGS field in the trap frame was not getting cleared on trap and
  syscall entry.  This field can cause a mailbox signal to be flagged in
  the signal frame which in turn can cause the next blockable system call
  to return EINTR.

  This fixes the last issue with mount_mfs.

* Cast the signal function to intptr_t rather then int.
sys/kern/kern_sig.c
sys/platform/pc64/amd64/exception.S