Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 01/21/2003 22:42:04
Module Name:	src
Committed By:	martin
Date:		Tue Jan 21 20:42:04 UTC 2003

Modified Files:
	src/sys/arch/sparc64/sparc64: kgdb_stub.c svr4_32_machdep.c
	    svr4_machdep.c trap.c

Log Message:
Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library, as well as with the v8 one.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/arch/sparc64/sparc64/kgdb_stub.c \
    src/sys/arch/sparc64/sparc64/svr4_32_machdep.c
cvs rdiff -r1.27 -r1.28 src/sys/arch/sparc64/sparc64/svr4_machdep.c
cvs rdiff -r1.87 -r1.88 src/sys/arch/sparc64/sparc64/trap.c

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