Subject: CVS commit: syssrc/sys/arch/sh5
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 08/31/2002 12:11:57
Module Name: syssrc
Committed By: scw
Date: Sat Aug 31 09:11:57 UTC 2002
Modified Files:
syssrc/sys/arch/sh5/include: trap.h
syssrc/sys/arch/sh5/sh5: exception.S trap.c
Log Message:
Deal with NMIs by jumping through the normal trap() code path.
At the very least, this will dump the machine state. At best,
we get into ddb().
This provides a useful way to regain control using an NMI button
if the cpu decides to spin at a high ipl.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sh5/include/trap.h
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/sh5/sh5/exception.S
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sh5/sh5/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.