Commit f8c46a5d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Add rt_sigframe

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent c32845ef
#ifndef CR_RESTORER_H__ #ifndef CR_RESTORER_H__
#define CR_RESTORER_H__ #define CR_RESTORER_H__
#include <signal.h>
#include "image.h" #include "image.h"
#define RESTORER_ARGS_SIZE 512 #define RESTORER_ARGS_SIZE 512
...@@ -18,4 +20,12 @@ enum { ...@@ -18,4 +20,12 @@ enum {
RESTORER_CMD__MAX, RESTORER_CMD__MAX,
}; };
struct rt_sigframe {
char *pretcode;
struct ucontext uc;
struct siginfo info;
/* fp state follows here */
};
#endif /* CR_RESTORER_H__ */ #endif /* CR_RESTORER_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment