Unbreak mip64 build after r328437

Add exit and getchar functions to beri/boot2 code. They are required by
panic_action functin introduced in r328437
This commit is contained in:
Oleksandr Tymoshenko 2019-01-20 21:09:44 +00:00
parent 30cef2b7f9
commit 8c8748225f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343225

View File

@ -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();
}