summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-04-15 11:49:00 +0000
committerkato <kato@FreeBSD.org>1997-04-15 11:49:00 +0000
commitc349316b834fcdf5835c5b4c106316393f9e37dc (patch)
treefc49a9fd04f966139311671a3c0a6bcbe7684491 /sys
parentc87ecd09ae9c109e062095744b51990a6c7520d6 (diff)
downloadFreeBSD-src-c349316b834fcdf5835c5b4c106316393f9e37dc.zip
FreeBSD-src-c349316b834fcdf5835c5b4c106316393f9e37dc.tar.gz
Synchronize with sys/i386/i386/trap.c revision 1.92.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/trap.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/sys/pc98/i386/trap.c b/sys/pc98/i386/trap.c
index 3e57eed..44a37a0 100644
--- a/sys/pc98/i386/trap.c
+++ b/sys/pc98/i386/trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.15 1997/04/06 11:49:46 kato Exp $
+ * $Id: trap.c,v 1.16 1997/04/07 11:00:48 kato Exp $
*/
/*
@@ -85,6 +85,8 @@
#include "isa.h"
#include "npx.h"
+extern struct i386tss common_tss;
+
int (*pmath_emulate) __P((struct trapframe *));
extern void trap __P((struct trapframe frame));
@@ -809,15 +811,11 @@ trap_fatal(frame)
void
dblfault_handler()
{
- struct pcb *pcb = curpcb;
-
- if (pcb != NULL) {
- printf("\nFatal double fault:\n");
- printf("eip = 0x%x\n", pcb->pcb_eip);
- printf("esp = 0x%x\n", pcb->pcb_esp);
- printf("ebp = 0x%x\n", pcb->pcb_ebp);
- }
+ printf("\nFatal double fault:\n");
+ printf("eip = 0x%x\n", common_tss.tss_eip);
+ printf("esp = 0x%x\n", common_tss.tss_esp);
+ printf("ebp = 0x%x\n", common_tss.tss_ebp);
panic("double fault");
}
OpenPOWER on IntegriCloud