I chanced on that TLS registers are numerous in 64 bit Home windows (GS) and Haiku (FS).
NtCurrentTeb()
mov %gs:0x30, %r13
static inline voidget_tls()
{
voidtls;
__asm__ __volatile__ ("movq %%fs:0, %0" : "=r" (tls));
return tls;
}
So I attempted to implement surroundings GS spoiled in kernel and obtained some success.
Featured Content Ads
add advertising hereCmd is already working. No GUI but.
Microsoft Home windows 6.1.7601
Z:Haikurecordsprogramswine-6.23>
Z:Haikurecordsprogramswine-6.23>
Z:Haikurecordsprogramswine-6.23>
Z:Haikurecordsprogramswine-6.23>dir
00c4:fixme:file:get_default_drive_device auto detection of DOS devices now no longer supported on this platform
Volume in power Z has no impress.
Volume Serial Number is 5a00-0000
Checklist of Z:Haikurecordsprogramswine-6.23
12/31/2021 6: 47 AM .
12/30/2021 11: 27 PM ..
12/4/2021 6: 17 AM 16,635 aclocal.m4
12/4/2021 6: 17 AM 33,128 ANNOUNCE
12/4/2021 6: 17 AM 26,847 AUTHORS
12/30/2021 11: 32 PM 908,816 config.log
12/30/2021 11: 31 PM 71,114 config.place of abode
12/4/2021 6: 17 AM 770,828 configure
12/4/2021 6: 17 AM 161,964 configure.ac
12/4/2021 6: 17 AM 26,434 COPYING.LIB
12/4/2021 6: 17 AM dlls
12/4/2021 6: 17 AM documentation
12/30/2021 11: 52 PM fonts
12/30/2021 11: 52 PM consist of
12/31/2021 6: 29 AM set up
12/4/2021 6: 17 AM libs
12/4/2021 6: 17 AM 824 LICENSE
12/4/2021 6: 17 AM 1,324 LICENSE.OLD
12/30/2021 11: 51 PM loader
12/4/2021 6: 17 AM 8,766 MAINTAINERS
12/31/2021 12: 16 AM 16,079,205 Makefile
12/30/2021 11: 32 PM nls
12/30/2021 11: 32 PM po
12/4/2021 6: 17 AM applications
12/4/2021 6: 17 AM 5,586 README
12/31/2021 12: 16 AM server
12/30/2021 11: 42 PM tools
12/4/2021 6: 17 AM 18 VERSION
12/4/2021 6: 17 AM 2,629 wine
12/4/2021 6: 17 AM 2,629 wine64
16 files 18,116,747 bytes
14 directories 0 bytes free
Z:Haikurecordsprogramswine-6.23>