summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 20:26:33 +0000
committermidipix <writeonce@midipix.org>2019-01-26 17:47:01 -0500
commit51a0100813ebf2f40177b6139cd1429d62535bdb (patch)
treea7f1d1512af888d28ff40f30044ab07566ba43c2
parent62780c3eb8527fa8578cb86ad460e0da08c06358 (diff)
downloadmmglue-51a0100813ebf2f40177b6139cd1429d62535bdb.tar.bz2
mmglue-51a0100813ebf2f40177b6139cd1429d62535bdb.tar.xz
psxglue.h: struct __psx_context: renamed .refaddr --> .usrmain.
-rw-r--r--arch/nt32/psxglue.h2
-rw-r--r--arch/nt64/psxglue.h2
-rw-r--r--src/arch/nt32/crt_glue.c2
-rw-r--r--src/arch/nt64/crt_glue.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h
index b882fbc..86214f5 100644
--- a/arch/nt32/psxglue.h
+++ b/arch/nt32/psxglue.h
@@ -37,7 +37,7 @@ struct __tlca_abi {
struct __psx_context {
int size;
int options;
- void * refaddr;
+ void * usrmain;
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h
index b882fbc..86214f5 100644
--- a/arch/nt64/psxglue.h
+++ b/arch/nt64/psxglue.h
@@ -37,7 +37,7 @@ struct __tlca_abi {
struct __psx_context {
int size;
int options;
- void * refaddr;
+ void * usrmain;
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c
index a28273e..eb5cc6a 100644
--- a/src/arch/nt32/crt_glue.c
+++ b/src/arch/nt32/crt_glue.c
@@ -65,7 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
- ctx.refaddr = __main;
+ ctx.usrmain = __main;
ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;
diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c
index a28273e..eb5cc6a 100644
--- a/src/arch/nt64/crt_glue.c
+++ b/src/arch/nt64/crt_glue.c
@@ -65,7 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
- ctx.refaddr = __main;
+ ctx.usrmain = __main;
ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;