diff options
Diffstat (limited to 'src/init')
-rw-r--r-- | src/init/ntux_init_ldso.c | 7 | ||||
-rw-r--r-- | src/init/ntux_init_static.c | 6 | ||||
-rw-r--r-- | src/init/ntux_init_vrfs.c | 7 |
3 files changed, 18 insertions, 2 deletions
diff --git a/src/init/ntux_init_ldso.c b/src/init/ntux_init_ldso.c index 992d6db..c80bead 100644 --- a/src/init/ntux_init_ldso.c +++ b/src/init/ntux_init_ldso.c @@ -41,6 +41,11 @@ int ntux_entry_routine( int(*__psx_init_routine)(int *,char ***,char ***,void *), struct __psx_context * ctx); +static int ntux_usrmain(void) +{ + return 0; +} + void ntux_entry_point(void) { int status; @@ -66,7 +71,7 @@ void ntux_entry_point(void) ctx.options = __PSXOPT_LDSO; ctx.ctty = __rrctty; - ctx.refaddr = ntux_entry_point; + ctx.usrmain = ntux_usrmain; ntux_entry_routine(__psx_init,&ctx); } diff --git a/src/init/ntux_init_static.c b/src/init/ntux_init_static.c index 8d7f8bb..64758fd 100644 --- a/src/init/ntux_init_static.c +++ b/src/init/ntux_init_static.c @@ -20,8 +20,14 @@ int ntux_entry_routine( static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0}; +static int ntux_usrmain(void) +{ + return 0; +} + void ntux_entry_point(void) { + ctx.usrmain = ntux_usrmain; ntux_entry_routine(__psx_init,&ctx); } diff --git a/src/init/ntux_init_vrfs.c b/src/init/ntux_init_vrfs.c index 708dd11..d4b3259 100644 --- a/src/init/ntux_init_vrfs.c +++ b/src/init/ntux_init_vrfs.c @@ -38,6 +38,11 @@ int ntux_entry_routine( int(*__psx_init_routine)(int *,char ***,char ***,void *), struct __psx_context * ctx); +static int ntux_usrmain(void) +{ + return 0; +} + void ntux_entry_point(void) { int status; @@ -63,7 +68,7 @@ void ntux_entry_point(void) ctx.options = __PSXOPT_VRFS; ctx.ctty = __sdctty; - ctx.refaddr = ntux_entry_point; + ctx.usrmain = ntux_usrmain; ntux_entry_routine(__psx_init,&ctx); } |