summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-08-07 18:39:28 +0000
committermarcel <marcel@FreeBSD.org>2007-08-07 18:39:28 +0000
commit2cb62192dea9600541ab7d4d20cff25ef95fb55c (patch)
tree359a2a9490ff099b2bb756f7dc90248d2f2681be /sys/powerpc
parentd893d60b08fa84d1867d410d82bc660ea8a2ca77 (diff)
downloadFreeBSD-src-2cb62192dea9600541ab7d4d20cff25ef95fb55c.zip
FreeBSD-src-2cb62192dea9600541ab7d4d20cff25ef95fb55c.tar.gz
Add prototype for trap().
Approved by: re (blanket)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/trap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/powerpc/include/trap.h b/sys/powerpc/include/trap.h
index 6cb1c1a..18778a8 100644
--- a/sys/powerpc/include/trap.h
+++ b/sys/powerpc/include/trap.h
@@ -103,4 +103,11 @@
#define EXC_ALI_RST(dsisr) ((dsisr >> 5) & 0x1f) /* source or target */
#define EXC_ALI_RA(dsisr) (dsisr & 0x1f)
+#ifndef LOCORE
+
+struct trapframe;
+void trap(struct trapframe *);
+
+#endif
+
#endif /* _POWERPC_TRAP_H_ */
OpenPOWER on IntegriCloud