Date: Mon, 25 Feb 2002 10:37:17 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include wstate.h src/sys/sparc64/sparc64 exception.s Message-ID: <200202251837.g1PIbHZ13710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2002/02/25 10:37:17 PST Modified files: sys/sparc64/include wstate.h sys/sparc64/sparc64 exception.s Log: Implement a nested window state. This avoids attempting to spill a user window to the user stack while in a nested kernel trap. We do this for entry to the kernel from user mode, but if we get an interrupt in kernel mode while there are still user windows in the cpu, and we attempt to spill to the user stack, we may take too many nested traps and overflow the trap stack, causing a red state exception. This is needed by upcoming changes to allow the user tsb to not be locked in the tlb. Reviewed by: tmm Revision Changes Path 1.4 +9 -10 src/sys/sparc64/include/wstate.h 1.27 +90 -233 src/sys/sparc64/sparc64/exception.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202251837.g1PIbHZ13710>