Date: Fri, 1 Feb 2019 06:19:12 +0000 (UTC) From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r343644 - stable/12/stand/mips/beri/boot2 Message-ID: <201902010619.x116JCmn024040@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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(); +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902010619.x116JCmn024040>