diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-04-24 21:26:31 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-04-30 09:47:47 +0200 |
commit | a075f313c57f1d5f06aa344429747f98434f2962 (patch) | |
tree | 0d351c3cf89baf52d2c59aefba4ef150794796a0 /linux-user/x86_64 | |
parent | 3612667cbb58a7bb508c861ec053363b7f5b2241 (diff) |
linux-user: move i386/x86_64 signal.c parts to i386 directory
No code change, only move code from signal.c to
i386/signal.c, except adding includes and
exporting setup_frame() and setup_rt_frame().
x86_64/signal.c includes i386/signal.c
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180424192635.6027-17-laurent@vivier.eu>
Diffstat (limited to 'linux-user/x86_64')
-rw-r--r-- | linux-user/x86_64/signal.c | 2 | ||||
-rw-r--r-- | linux-user/x86_64/target_signal.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/x86_64/signal.c b/linux-user/x86_64/signal.c index 02ca338b6c..a509a38045 100644 --- a/linux-user/x86_64/signal.c +++ b/linux-user/x86_64/signal.c @@ -16,3 +16,5 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#define I386_TARGET_SIGNAL_H /* to only include x86_64/target_signal.h */ +#include "../i386/signal.c" diff --git a/linux-user/x86_64/target_signal.h b/linux-user/x86_64/target_signal.h index 1e95f4a684..26f96944e5 100644 --- a/linux-user/x86_64/target_signal.h +++ b/linux-user/x86_64/target_signal.h @@ -26,4 +26,7 @@ static inline abi_ulong get_sp_from_cpustate(CPUX86State *state) return state->regs[R_ESP]; } +void setup_rt_frame(int sig, struct target_sigaction *ka, + target_siginfo_t *info, + target_sigset_t *set, CPUX86State *env); #endif /* X86_64_TARGET_SIGNAL_H */ |