mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 10:09:57 +00:00
Otherwise a task can start to handle a signal and registers can be changed. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
14 lines
334 B
C
14 lines
334 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, u32 tls)
|
|
{
|
|
core->ti_arm->tls = tls;
|
|
}
|
|
|
|
#endif
|