Date: Wed, 2 Dec 1998 00:15:18 -0800 (PST) From: KATO Takenori <kato@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 machdep.c trap.c src/sys/pc98/conf files.pc98 src/sys/pc98/i386 machdep.c trap.c Message-ID: <199812020815.AAA02682@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kato 1998/12/02 00:15:18 PST Modified files: sys/i386/i386 machdep.c trap.c sys/pc98/conf files.pc98 sys/pc98/i386 machdep.c Removed files: sys/pc98/i386 trap.c Log: - For some old Cyrix CPUs, %cr2 is clobbered by interrupts. This problem is worked around by using an interrupt gate for the page fault handler. This code was originally made for NetBSD/pc98 by Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> and has already been in PC98 tree. Because of this bug, trap_fatal cannot show correct page fault address if %cr2 is obtained in this function. Therefore, trap_fatal uses the value from trap() function. - The trap handler always enables interruption when buggy application or kernel code has disabled interrupts and then trapped. This code was prepared by Bruce Evans <bde@FreeBSD.org>. Submitted by: Bruce Evans <bde@FreeBSD.org> Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> Revision Changes Path 1.317 +2 -2 src/sys/i386/i386/machdep.c 1.129 +59 -27 src/sys/i386/i386/trap.c 1.73 +2 -2 src/sys/pc98/conf/files.pc98 1.101 +1 -5 src/sys/pc98/i386/machdep.c 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?199812020815.AAA02682>