summaryrefslogtreecommitdiffhomepage
path: root/src/init
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-03-11 15:55:23 -0400
committermidipix <writeonce@midipix.org>2019-03-11 15:55:23 -0400
commit32e604c63f1f7e211c63cc900e77f5ef637c9eef (patch)
tree2ff7dee506711fb2d65b1a8039c41513e3933b16 /src/init
parent8702a2b670339709fdc73c80a574ab49863eeac3 (diff)
downloadntux-32e604c63f1f7e211c63cc900e77f5ef637c9eef.tar.bz2
ntux-32e604c63f1f7e211c63cc900e77f5ef637c9eef.tar.xz
init: adjust initialization of struct __psx_context (pre-alpha abi).
Diffstat (limited to 'src/init')
-rw-r--r--src/init/ntux_init_ldso.c2
-rw-r--r--src/init/ntux_init_static.c2
-rw-r--r--src/init/ntux_init_vrfs.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/init/ntux_init_ldso.c b/src/init/ntux_init_ldso.c
index c80bead..361f5d2 100644
--- a/src/init/ntux_init_ldso.c
+++ b/src/init/ntux_init_ldso.c
@@ -31,7 +31,7 @@ static const unsigned short __rrctty[] = {'b','i','n','\\',
'.','e','x','e',0};
/* system call layer init context */
-static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0};
+static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0,0};
/* ldso buffer */
static uintptr_t __attribute__((section(".dsodata")))
diff --git a/src/init/ntux_init_static.c b/src/init/ntux_init_static.c
index 64758fd..39ed7a7 100644
--- a/src/init/ntux_init_static.c
+++ b/src/init/ntux_init_static.c
@@ -18,7 +18,7 @@ int ntux_entry_routine(
int(*__psx_init_routine)(int *,char ***,char ***,void *),
struct __psx_context * ctx);
-static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0};
+static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0,0};
static int ntux_usrmain(void)
{
diff --git a/src/init/ntux_init_vrfs.c b/src/init/ntux_init_vrfs.c
index d4b3259..3dcd49c 100644
--- a/src/init/ntux_init_vrfs.c
+++ b/src/init/ntux_init_vrfs.c
@@ -28,7 +28,7 @@ static const unsigned short __sdctty[] = {'n','t','c','t','t','y',
'.','e','x','e',0};
/* system call layer init context */
-static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0};
+static struct __psx_context ctx = {sizeof(ctx),0,0,0,0,0,0,0,0,0,0,0,0};
/* ldso buffer */
static uintptr_t __attribute__((section(".dsodata")))