summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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