From owner-cvs-all Mon Feb 25 10:37:23 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BB2437B405; Mon, 25 Feb 2002 10:37:17 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1PIbHZ13710; Mon, 25 Feb 2002 10:37:17 -0800 (PST) (envelope-from jake) Message-Id: <200202251837.g1PIbHZ13710@freefall.freebsd.org> From: Jake Burkholder Date: Mon, 25 Feb 2002 10:37:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include wstate.h src/sys/sparc64/sparc64 exception.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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