diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-04-24 21:26:32 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-04-30 09:47:47 +0200 |
commit | 9f172adb35123a093aec8feb74de0e126ae2138e (patch) | |
tree | d2fe5c703ddc47136a87478bd2484a14193e5967 /linux-user/sparc64 | |
parent | a075f313c57f1d5f06aa344429747f98434f2962 (diff) | |
download | qemu-9f172adb35123a093aec8feb74de0e126ae2138e.zip qemu-9f172adb35123a093aec8feb74de0e126ae2138e.tar.gz qemu-9f172adb35123a093aec8feb74de0e126ae2138e.tar.bz2 |
linux-user: move sparc/sparc64 signal.c parts to sparc directory
No code change, only move code from signal.c to
sparc/signal.c, except adding includes and
exporting setup_frame() and setup_rt_frame().
sparc64/signal.c includes sparc/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-18-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc64')
-rw-r--r-- | linux-user/sparc64/signal.c | 2 | ||||
-rw-r--r-- | linux-user/sparc64/target_signal.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/linux-user/sparc64/signal.c b/linux-user/sparc64/signal.c index 02ca338..c263eb0 100644 --- a/linux-user/sparc64/signal.c +++ b/linux-user/sparc64/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 SPARC_TARGET_SIGNAL_H /* to only include sparc64/target_signal.h */ +#include "../sparc/signal.c" diff --git a/linux-user/sparc64/target_signal.h b/linux-user/sparc64/target_signal.h index 4449457..7f10db9 100644 --- a/linux-user/sparc64/target_signal.h +++ b/linux-user/sparc64/target_signal.h @@ -33,5 +33,9 @@ static inline abi_ulong get_sp_from_cpustate(CPUSPARCState *state) return state->regwptr[UREG_FP]; } - +void setup_frame(int sig, struct target_sigaction *ka, + target_sigset_t *set, CPUSPARCState *env); +void setup_rt_frame(int sig, struct target_sigaction *ka, + target_siginfo_t *info, + target_sigset_t *set, CPUSPARCState *env); #endif /* SPARC64_TARGET_SIGNAL_H */ |