summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64/src/vtbl.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 07:51:27 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:15 -0500
commit2f2b1c17cb9e6db0cacca52765f8bf701798ef18 (patch)
tree4d4be0b74596a5ecb3f0eed740a48db9f233e617 /arch/nt64/src/vtbl.c
parent6f13b9b0fc0d920aa9c52ba202a85554a0788f5c (diff)
downloadmmglue-2f2b1c17cb9e6db0cacca52765f8bf701798ef18.tar.bz2
mmglue-2f2b1c17cb9e6db0cacca52765f8bf701798ef18.tar.xz
mmglue: moved arch/nt{32|64}/src --> src/arch/nt{32|64}.
Diffstat (limited to 'arch/nt64/src/vtbl.c')
-rw-r--r--arch/nt64/src/vtbl.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/nt64/src/vtbl.c b/arch/nt64/src/vtbl.c
deleted file mode 100644
index f21ce17..0000000
--- a/arch/nt64/src/vtbl.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <unistd.h>
-#include <stdint.h>
-#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;
-}