summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 18:29:46 -0500
committermidipix <writeonce@midipix.org>2019-01-26 19:00:27 -0500
commit42bda7697b5eda8f6b15509e2d86ad811f7af8fe (patch)
tree54ee9d80b0edcb7842d04377e9cead3c02bee529 /src
parentd917e21be2badaceabf53e45244a77d42978486b (diff)
downloadntux-42bda7697b5eda8f6b15509e2d86ad811f7af8fe.tar.bz2
ntux-42bda7697b5eda8f6b15509e2d86ad811f7af8fe.tar.xz
struct __psx_context: update: .refaddr --> .usrmain.
Diffstat (limited to 'src')
-rw-r--r--src/init/ntux_init_ldso.c7
-rw-r--r--src/init/ntux_init_static.c6
-rw-r--r--src/init/ntux_init_vrfs.c7
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);
}