about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-23 19:45:13 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-23 19:45:13 +0200
commit7317472b5f62316e5817f9e89ae2ddf99862412d (patch)
treefa07f9df10da8400097c372289ec58094de5f6e2 /src/include
parent9271684e5a9f356056a6038f652ec1c15ed16ed2 (diff)
downloadbox64-7317472b5f62316e5817f9e89ae2ddf99862412d.tar.gz
box64-7317472b5f62316e5817f9e89ae2ddf99862412d.zip
[BOX32][WRAPPER] More 32bits wrapped functions, and a few fixes on threads handling
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/myalign32.h9
-rw-r--r--src/include/threads.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/include/myalign32.h b/src/include/myalign32.h
index dbbb0c9a..93844ad7 100755
--- a/src/include/myalign32.h
+++ b/src/include/myalign32.h
@@ -510,4 +510,13 @@ struct i386_passwd
   ptr_t pw_dir; // char*
   ptr_t pw_shell; // char*
 };
+
+struct i386_group
+{
+  ptr_t gr_name; // char *
+  ptr_t gr_passwd; // char *
+  __gid_t gr_gid;
+  ptr_t gr_mem; // char **
+};
+
 #endif//__MY_ALIGN32__H_
\ No newline at end of file
diff --git a/src/include/threads.h b/src/include/threads.h
index fcceff33..7a77657f 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -9,6 +9,7 @@ typedef struct emuthread_s {
 	void*		arg;
 	x64emu_t*	emu;
 	int			join;
+	int			is32bits;
 	uintptr_t	self;
 	ulong_t 	hself;
 	int			cancel_cap, cancel_size;