diff options
author | marcel <marcel@FreeBSD.org> | 2007-08-07 18:39:28 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-08-07 18:39:28 +0000 |
commit | 2cb62192dea9600541ab7d4d20cff25ef95fb55c (patch) | |
tree | 359a2a9490ff099b2bb756f7dc90248d2f2681be | |
parent | d893d60b08fa84d1867d410d82bc660ea8a2ca77 (diff) | |
download | FreeBSD-src-2cb62192dea9600541ab7d4d20cff25ef95fb55c.zip FreeBSD-src-2cb62192dea9600541ab7d4d20cff25ef95fb55c.tar.gz |
Add prototype for trap().
Approved by: re (blanket)
-rw-r--r-- | sys/powerpc/include/trap.h | 7 |
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_ */ |