From 2f2b1c17cb9e6db0cacca52765f8bf701798ef18 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 7 Jan 2019 07:51:27 -0500 Subject: mmglue: moved arch/nt{32|64}/src --> src/arch/nt{32|64}. --- arch/nt32/src/vtbl.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 arch/nt32/src/vtbl.c (limited to 'arch/nt32/src/vtbl.c') diff --git a/arch/nt32/src/vtbl.c b/arch/nt32/src/vtbl.c deleted file mode 100644 index f21ce17..0000000 --- a/arch/nt32/src/vtbl.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include "psxglue.h" -#include "errno.h" - -const struct __ldso_vtbl * __ldso_vtbl = 0; -const struct __psx_vtbl * __psx_vtbl = 0; -unsigned long ** __syscall_vtbl = 0; -unsigned long __teb_sys_idx = 0; -unsigned long __teb_libc_idx = 0; - -long __syscall_alert(long n) -{ - char __lmsg[] = "DING ALARM! UNIMPLEMENTED SYSCALL 000\n"; - - __lmsg[36] = '0' + n % 10; n /= 10; - __lmsg[35] = '0' + n % 10; n /= 10; - __lmsg[34] = '0' + n % 10; - - __psx_vtbl->log_output( - __lmsg, - sizeof(__lmsg)); - - return -ENOSYS; -} -- cgit v1.2.3