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_ */