Subject: CVS commit: src/sys/arch/sh3/sh3
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 11/24/2003 03:11:16
Module Name:	src
Committed By:	uwe
Date:		Mon Nov 24 03:11:16 UTC 2003

Modified Files:
	src/sys/arch/sh3/sh3: exception.c

Log Message:
general_exception() now receives TEA as a third argument.  For user
mode EXPEVT_ADDR_ERR_{LD,ST} traps pass it as ksi_addr, also use it to
decide if this is a SIGBUS (unaliged access) or SIGSEGV (kernel VA
access).

Report EXPEVT_TLB_PROT_LD as SEGV_ACCERR, not SEGV_MAPERR.

While here, consistently use standard uint32_t instead of u_int32_t.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/sh3/sh3/exception.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.