mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 09:10:10 +00:00
aarch64: TLS register checkpoint/restore implementation by Christopher Covington. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Christopher Covington <cov@codeaurora.org> Reviewed-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
14 lines
340 B
C
14 lines
340 B
C
#ifndef __CR_ASM_DUMP_H__
|
|
#define __CR_ASM_DUMP_H__
|
|
|
|
extern int get_task_regs(pid_t pid, user_regs_struct_t regs, CoreEntry *core);
|
|
extern int arch_alloc_thread_info(CoreEntry *core);
|
|
extern void arch_free_thread_info(CoreEntry *core);
|
|
|
|
|
|
static inline void core_put_tls(CoreEntry *core, tls_t tls)
|
|
{
|
|
core->ti_aarch64->tls = tls;
|
|
}
|
|
|
|
#endif
|