mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
Remove space before tab characters. Found by git grep ' ' (Space, Ctrl-V, Tab in shell). Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
30 lines
696 B
C
30 lines
696 B
C
#ifndef __CR_ASM_RESTORE_H__
|
|
#define __CR_ASM_RESTORE_H__
|
|
|
|
#include "asm/restorer.h"
|
|
|
|
#include "protobuf/core.pb-c.h"
|
|
|
|
#define JUMP_TO_RESTORER_BLOB(new_sp, restore_task_exec_start, \
|
|
task_args) \
|
|
asm volatile( \
|
|
"mov %%sp, %%%0 \n" \
|
|
"mov %%r1, %%%1 \n" \
|
|
"mov %%r0, %%%2 \n" \
|
|
"bx %%r1 \n" \
|
|
: \
|
|
: "r"(new_sp), \
|
|
"r"(restore_task_exec_start), \
|
|
"r"(task_args) \
|
|
: "sp", "r0", "r1", "memory")
|
|
|
|
static inline void core_get_tls(CoreEntry *pcore, u32 *ptls)
|
|
{
|
|
*ptls = pcore->ti_arm->tls;
|
|
}
|
|
|
|
|
|
int restore_fpu(struct rt_sigframe *sigframe, CoreEntry *core);
|
|
|
|
#endif
|