summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-16 02:26:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-16 02:26:50 +0000
commita902441a2532b4c56bf636cc38d979a13c07c056 (patch)
tree9e009228718cb80576512388cd4724bf5c5b5974 /c/src/lib/libbsp/m68k/efi332/include
parentAdded ftpd server from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. (diff)
downloadrtems-a902441a2532b4c56bf636cc38d979a13c07c056.tar.bz2
Patch from John S. Gwynne <jgwynne@mrcday.com> to correct minor
problems that prevented the 19990302 snapshot from running on the efi332. I'm happy to report that rtems-19990302 is running on the efi332 board. I have enclosed a few minor patches below to the efi332 bsp. All patches are within that library but one. make/custom/efi332.cfg has a patch to select the right CPU_CFLAGS (at one time -m68332 was a problem... -mcpu32 or -m68332 work fine now).
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332/include')
-rw-r--r--c/src/lib/libbsp/m68k/efi332/include/efi332.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/include/efi332.h b/c/src/lib/libbsp/m68k/efi332/include/efi332.h
index f9a5584c1b..b19b225109 100644
--- a/c/src/lib/libbsp/m68k/efi332/include/efi332.h
+++ b/c/src/lib/libbsp/m68k/efi332/include/efi332.h
@@ -43,12 +43,10 @@
/*
* This prototype really should have the noreturn attribute but
- * that causes a warning since it appears that the routine does
- * return.
- *
- * void reboot(void) __attribute__ ((noreturn));
+ * that causes a warning. Not sure how to fix that.
*/
-
-void reboot(void);
+/* static void reboot(void) __attribute__ ((noreturn)); */
+static void reboot(void);
+__inline__ static void reboot() {asm("trap #15");}
#endif /* _EFI332_H_ */