-
Alexander Kartashov authored
Supported machine architectures provide TLS stogares of different sizes: the size of the TLS storage in x86-64 is 24 bytes, ARM --- 4 bytes and upcoming AArch64 --- 8 bytes. This means every supported architecture needs a specific type to store the value of the TLS register. This patch reworks the insterface of the routines arch_get_tls() and restore_tls() passing them the TLS storage by pointer rather than by value to simplify the TLS stub for x86. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Reviewed-by:
Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Christopher Covington <cov@codeaurora.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
7c42c9b5
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
include/asm | ||
Makefile | ||
cpu.c | ||
crtools.c | ||
parasite-head.S | ||
prlimit.c | ||
restorer.c | ||
syscall-common-x86-64.S | ||
syscall-x86-64.def | ||
syscalls-x86-64.sh | ||
vdso-pie.c | ||
vdso.c |