summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/trap.h
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-11-05 00:49:03 +0000
committermp <mp@FreeBSD.org>2001-11-05 00:49:03 +0000
commitba5cfb0dbeb0e5831ceb781d1a76c64ee3893cdd (patch)
treec52c3222732a65c24751a7a9e0fa86163dc88961 /sys/powerpc/include/trap.h
parente8fdcea4033f3b246411335ef106ec835c22f699 (diff)
downloadFreeBSD-src-ba5cfb0dbeb0e5831ceb781d1a76c64ee3893cdd.zip
FreeBSD-src-ba5cfb0dbeb0e5831ceb781d1a76c64ee3893cdd.tar.gz
Clean up the trap handling code and make it consistent with the other platforms.
Submitted by: jhb
Diffstat (limited to 'sys/powerpc/include/trap.h')
-rw-r--r--sys/powerpc/include/trap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/powerpc/include/trap.h b/sys/powerpc/include/trap.h
index dd359d2..2438f08 100644
--- a/sys/powerpc/include/trap.h
+++ b/sys/powerpc/include/trap.h
@@ -52,7 +52,7 @@
/* The following are only available on 604: */
#define EXC_PERF 0x0f00 /* Performance Monitoring */
#define EXC_BPT 0x1300 /* Instruction Breakpoint */
-#define EXC_SMI 0x1400 /* System Managment Interrupt */
+#define EXC_SMI 0x1400 /* System Management Interrupt */
/* And these are only on the 603: */
#define EXC_IMISS 0x1000 /* Instruction translation miss */
@@ -61,8 +61,6 @@
#define EXC_LAST 0x2f00 /* Last possible exception vector */
-#define EXC_AST 0x3000 /* Fake AST vector */
-
/* Trap was in user mode */
#define EXC_USER 0x10000
@@ -87,6 +85,7 @@
#ifndef LOCORE
void trap(struct trapframe *);
+void syscall(struct trapframe *);
#endif /* !LOCORE */
OpenPOWER on IntegriCloud