summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-02-19 15:47:38 +0000
committerbde <bde@FreeBSD.org>2001-02-19 15:47:38 +0000
commit97e52ec00f0b15b4c4991091e3c72913bb0d1765 (patch)
treeb728903b58cc65d6ecafa74fe47e9a28af917d52
parentd6cd2507344df79db75e8e7a52b6472ab6245bea (diff)
downloadFreeBSD-src-97e52ec00f0b15b4c4991091e3c72913bb0d1765.zip
FreeBSD-src-97e52ec00f0b15b4c4991091e3c72913bb0d1765.tar.gz
Removed all traces of T_ASTFLT (except for gaps where it was). It became
unused except in dead code when ast() was split off from trap().
-rw-r--r--sys/amd64/amd64/trap.c2
-rw-r--r--sys/amd64/include/trap.h1
-rw-r--r--sys/i386/i386/trap.c2
-rw-r--r--sys/i386/include/trap.h1
-rw-r--r--sys/i386/isa/ipl.s1
-rw-r--r--sys/kern/subr_trap.c2
6 files changed, 3 insertions, 6 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index f778666..da4f1db 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -123,7 +123,7 @@ static char *trap_msg[] = {
"", /* 4 unused */
"", /* 5 unused */
"arithmetic trap", /* 6 T_ARITHTRAP */
- "system forced exception", /* 7 T_ASTFLT */
+ "", /* 7 unused */
"", /* 8 unused */
"general protection fault", /* 9 T_PROTFLT */
"trace trap", /* 10 T_TRCTRAP */
diff --git a/sys/amd64/include/trap.h b/sys/amd64/include/trap.h
index 4906641..6db97ec 100644
--- a/sys/amd64/include/trap.h
+++ b/sys/amd64/include/trap.h
@@ -48,7 +48,6 @@
#define T_PRIVINFLT 1 /* privileged instruction */
#define T_BPTFLT 3 /* breakpoint instruction */
#define T_ARITHTRAP 6 /* arithmetic trap */
-#define T_ASTFLT 7 /* system forced exception */
#define T_PROTFLT 9 /* protection fault */
#define T_TRCTRAP 10 /* debug exception (sic) */
#define T_PAGEFLT 12 /* page fault */
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index f778666..da4f1db 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -123,7 +123,7 @@ static char *trap_msg[] = {
"", /* 4 unused */
"", /* 5 unused */
"arithmetic trap", /* 6 T_ARITHTRAP */
- "system forced exception", /* 7 T_ASTFLT */
+ "", /* 7 unused */
"", /* 8 unused */
"general protection fault", /* 9 T_PROTFLT */
"trace trap", /* 10 T_TRCTRAP */
diff --git a/sys/i386/include/trap.h b/sys/i386/include/trap.h
index 4906641..6db97ec 100644
--- a/sys/i386/include/trap.h
+++ b/sys/i386/include/trap.h
@@ -48,7 +48,6 @@
#define T_PRIVINFLT 1 /* privileged instruction */
#define T_BPTFLT 3 /* breakpoint instruction */
#define T_ARITHTRAP 6 /* arithmetic trap */
-#define T_ASTFLT 7 /* system forced exception */
#define T_PROTFLT 9 /* protection fault */
#define T_TRCTRAP 10 /* debug exception (sic) */
#define T_PAGEFLT 12 /* page fault */
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s
index 25af1f7..22cc484 100644
--- a/sys/i386/isa/ipl.s
+++ b/sys/i386/isa/ipl.s
@@ -67,7 +67,6 @@ doreti_next:
je doreti_exit /* no, defer */
doreti_ast:
- movl $T_ASTFLT,TF_TRAPNO(%esp)
call _ast
/*
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index f778666..da4f1db 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -123,7 +123,7 @@ static char *trap_msg[] = {
"", /* 4 unused */
"", /* 5 unused */
"arithmetic trap", /* 6 T_ARITHTRAP */
- "system forced exception", /* 7 T_ASTFLT */
+ "", /* 7 unused */
"", /* 8 unused */
"general protection fault", /* 9 T_PROTFLT */
"trace trap", /* 10 T_TRCTRAP */
OpenPOWER on IntegriCloud