From 32e604c63f1f7e211c63cc900e77f5ef637c9eef Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 11 Mar 2019 15:55:23 -0400 Subject: init: adjust initialization of struct __psx_context (pre-alpha abi). --- src/init/ntux_init_ldso.c | 2 +- src/init/ntux_init_static.c | 2 +- src/init/ntux_init_vrfs.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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"))) -- cgit v1.2.3