summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-19 22:51:26 +0000
committermarcel <marcel@FreeBSD.org>2003-09-19 22:51:26 +0000
commit901f7b2cb79afe6f5a842dc09d70124cbe1cb852 (patch)
treee14a4e318cf8c6b5b1727b77032fbd366ecc14e2 /lib/libpthread/arch/ia64/include
parent3dba6f023a8688e876dce4fc38ed18481ed6c8ee (diff)
downloadFreeBSD-src-901f7b2cb79afe6f5a842dc09d70124cbe1cb852.zip
FreeBSD-src-901f7b2cb79afe6f5a842dc09d70124cbe1cb852.tar.gz
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.
Diffstat (limited to 'lib/libpthread/arch/ia64/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud