From 51a0100813ebf2f40177b6139cd1429d62535bdb Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 26 Jan 2019 20:26:33 +0000 Subject: psxglue.h: struct __psx_context: renamed .refaddr --> .usrmain. --- arch/nt32/psxglue.h | 2 +- arch/nt64/psxglue.h | 2 +- src/arch/nt32/crt_glue.c | 2 +- src/arch/nt64/crt_glue.c | 2 +- 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; -- cgit v1.2.3