Blame arch/nt64/src/vtbl.c

860627
#include "psxglue.h"
4df078
#include "errno.h"
860627
215106
const struct __ldso_vtbl *  __ldso_vtbl     = 0;
215106
const struct __psx_vtbl *   __psx_vtbl      = 0;
215106
unsigned long **            __syscall_vtbl  = 0;
215106
unsigned long               __teb_sys_idx   = 0;
215106
unsigned long               __teb_libc_idx  = 0;
860627
4df078
long __syscall_alert(long n)
4df078
{
4df078
	char __lmsg[] = "DING ALARM! UNIMPLEMENTED SYSCALL 000\n";
4df078
4df078
	__lmsg[36] = '0' + n % 10; n /= 10;
4df078
	__lmsg[35] = '0' + n % 10; n /= 10;
4df078
	__lmsg[34] = '0' + n % 10;
4df078
4df078
	__psx_vtbl->log_output(
4df078
		__lmsg,
4df078
		sizeof(__lmsg));
4df078
4df078
	return -ENOSYS;
4df078
}