summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-06 05:48:49 +0000
committermidipix <writeonce@midipix.org>2019-06-06 05:48:49 +0000
commit7f1932233ffb6802f419742920166d19c230c936 (patch)
treee52e599fe5f6dedd7da67c5f1db99dc7405b8044 /src/arch/nt32
parent44a67f9f5f96136d7c8dc4cb48cc730a543c3bde (diff)
downloadmmglue-7f1932233ffb6802f419742920166d19c230c936.tar.bz2
mmglue-7f1932233ffb6802f419742920166d19c230c936.tar.xz
nt32: adjust code to match the updated struct __psx_vtbl.
Diffstat (limited to 'src/arch/nt32')
-rw-r--r--src/arch/nt32/crt_glue.c2
-rw-r--r--src/arch/nt32/syscall_disp.c2
-rw-r--r--src/arch/nt32/vtbl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c
index db5d3a6..cd35d52 100644
--- a/src/arch/nt32/crt_glue.c
+++ b/src/arch/nt32/crt_glue.c
@@ -95,7 +95,7 @@ void __libc_entry_routine(
__global_dtors_fn = __psx_vtbl->do_global_dtors_fn;
/* enter libc */
- __psx_vtbl->start_main(argc,argv,__libc_start_main);
+ __psx_vtbl->mm_start_main(argc,argv,__libc_start_main);
/* guard */
a_crash();
diff --git a/src/arch/nt32/syscall_disp.c b/src/arch/nt32/syscall_disp.c
index 31baddb..61ff807 100644
--- a/src/arch/nt32/syscall_disp.c
+++ b/src/arch/nt32/syscall_disp.c
@@ -8,7 +8,7 @@ extern struct __psx_vtbl * __psx_vtbl;
void __unmapself(void * base, size_t size)
{
- __psx_vtbl->unmapself(base,size);
+ __psx_vtbl->mm_unmapself(base,size);
}
uintptr_t __syscall_disp(long n,
diff --git a/src/arch/nt32/vtbl.c b/src/arch/nt32/vtbl.c
index 751990b..ad0a0e9 100644
--- a/src/arch/nt32/vtbl.c
+++ b/src/arch/nt32/vtbl.c
@@ -19,7 +19,7 @@ long __syscall_alert(long n)
__lmsg[35] = '0' + n % 10; n /= 10;
__lmsg[34] = '0' + n % 10;
- __psx_vtbl->log_output(
+ __psx_vtbl->mm_log_output(
__lmsg,
sizeof(__lmsg));