Author: tsoome Date: Fri Feb 1 06:19:12 2019 New Revision: 343644 URL: https://svnweb.freebsd.org/changeset/base/343644
Log: MFC r343225: 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: stable/12/stand/mips/beri/boot2/boot2.c Directory Properties: stable/12/ (props changed) Modified: stable/12/stand/mips/beri/boot2/boot2.c ============================================================================== --- stable/12/stand/mips/beri/boot2/boot2.c Fri Feb 1 03:26:10 2019 (r343643) +++ stable/12/stand/mips/beri/boot2/boot2.c Fri Feb 1 06:19:12 2019 (r343644) @@ -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-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"