summaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2007-08-07 18:39:28 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2007-08-07 18:39:28 +0000
commitad9503cd376ba3708079a58e7e492997529c7411 (patch)
tree359a2a9490ff099b2bb756f7dc90248d2f2681be /sys/powerpc
parentf7b55b6053922bc691d20377dea05cdd3af1470c (diff)
Notes
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 6cb1c1a70509..18778a84cf8c 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_ */