diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-16 02:26:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-16 02:26:50 +0000 |
commit | a902441a2532b4c56bf636cc38d979a13c07c056 (patch) | |
tree | 9e009228718cb80576512388cd4724bf5c5b5974 /c/src/lib/libbsp/m68k/efi332/include/efi332.h | |
parent | Added ftpd server from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/include/efi332.h | 10 |
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_ */ |