Author: gonzo
Date: Sun Jan 20 21:09:44 2019
New Revision: 343225
URL: https://svnweb.freebsd.org/changeset/base/343225

Log:
  Unbreak mip64 build after r328437
  
  Add exit and getchar functions to beri/boot2 code. They are required by
  panic_action functin introduced in r328437

Modified:
  head/stand/mips/beri/boot2/boot2.c

Modified: head/stand/mips/beri/boot2/boot2.c
==============================================================================
--- head/stand/mips/beri/boot2/boot2.c  Sun Jan 20 20:29:26 2019        
(r343224)
+++ head/stand/mips/beri/boot2/boot2.c  Sun Jan 20 21:09:44 2019        
(r343225)
@@ -651,3 +651,19 @@ xgetc(int fn)
            return 0;
     }
 }
+
+int
+getchar(void)
+{
+
+       return xgetc(0);
+}
+
+void
+exit(int code)
+{
+
+        printf("error: loader exit\n");
+        while (1);
+        __unreachable();
+}
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to