summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332')
-rw-r--r--c/src/lib/libbsp/m68k/efi332/include/efi332.h11
-rw-r--r--c/src/lib/libbsp/m68k/efi332/start/start.c10
-rw-r--r--c/src/lib/libbsp/m68k/efi332/start332/start332.c10
3 files changed, 28 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/include/efi332.h b/c/src/lib/libbsp/m68k/efi332/include/efi332.h
index 1c1a3d0c17..f9a5584c1b 100644
--- a/c/src/lib/libbsp/m68k/efi332/include/efi332.h
+++ b/c/src/lib/libbsp/m68k/efi332/include/efi332.h
@@ -40,6 +40,15 @@
/* macros/functions */
-void reboot(void) __attribute__ ((noreturn));
+
+/*
+ * 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));
+ */
+
+void reboot(void);
#endif /* _EFI332_H_ */
diff --git a/c/src/lib/libbsp/m68k/efi332/start/start.c b/c/src/lib/libbsp/m68k/efi332/start/start.c
index 214f9bb564..63ed7be2f3 100644
--- a/c/src/lib/libbsp/m68k/efi332/start/start.c
+++ b/c/src/lib/libbsp/m68k/efi332/start/start.c
@@ -10,7 +10,15 @@ char * const __env[]= {""};
int main(const int argc, char * const argv[], char * const env[]);
-void dumby_start () __attribute__ ((noreturn));
+/*
+ * This prototype really should have the noreturn attribute but
+ * that causes a warning since it appears that the routine does
+ * return.
+ *
+ * void dumby_start () __attribute__ ((noreturn));
+ */
+
+void dumby_start ();
void dumby_start() {
/* We need to by-pass the link instruction since the RAM chip-
diff --git a/c/src/lib/libbsp/m68k/efi332/start332/start332.c b/c/src/lib/libbsp/m68k/efi332/start332/start332.c
index 214f9bb564..63ed7be2f3 100644
--- a/c/src/lib/libbsp/m68k/efi332/start332/start332.c
+++ b/c/src/lib/libbsp/m68k/efi332/start332/start332.c
@@ -10,7 +10,15 @@ char * const __env[]= {""};
int main(const int argc, char * const argv[], char * const env[]);
-void dumby_start () __attribute__ ((noreturn));
+/*
+ * This prototype really should have the noreturn attribute but
+ * that causes a warning since it appears that the routine does
+ * return.
+ *
+ * void dumby_start () __attribute__ ((noreturn));
+ */
+
+void dumby_start ();
void dumby_start() {
/* We need to by-pass the link instruction since the RAM chip-