mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
We will need it when parasite engine will be creating signal frames. Export appropriate headers and use it in CRIU by linking with libcompel.a. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
15 lines
478 B
C
15 lines
478 B
C
#ifndef UAPI_COMPEL_CPU_H__
|
|
#define UAPI_COMPEL_CPU_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <compel/asm/cpu.h>
|
|
|
|
extern void compel_set_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
|
|
extern void compel_clear_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
|
|
extern int compel_test_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
|
|
extern int compel_cpuid(compel_cpuinfo_t *info);
|
|
extern bool cpu_has_feature(unsigned int feature);
|
|
|
|
#endif /* UAPI_COMPEL_CPU_H__ */
|