mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-27 20:37:57 +00:00
I'll need them in parasite head and in exit. travis-ci: success for Rectify 32-bit compatible C/R on x86 Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
28 lines
426 B
C
28 lines
426 B
C
#ifndef __CR_LINKAGE_H__
|
|
#define __CR_LINKAGE_H__
|
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
#define __ALIGN .align 4, 0x90
|
|
#define __ALIGN_STR ".align 4, 0x90"
|
|
|
|
#define GLOBAL(name) \
|
|
.globl name; \
|
|
name:
|
|
|
|
#define ENTRY(name) \
|
|
.globl name; \
|
|
.type name, @function; \
|
|
__ALIGN; \
|
|
name:
|
|
|
|
#define END(sym) \
|
|
.size sym, . - sym
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#define __USER32_CS 0x23
|
|
#define __USER_CS 0x33
|
|
|
|
#endif /* __CR_LINKAGE_H__ */
|