aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sparc64')
-rw-r--r--linux-user/sparc64/signal.c2
-rw-r--r--linux-user/sparc64/target_signal.h6
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 */