xref: /qemu/linux-user/hexagon/target_signal.h (revision c8ef02b1acf0d78e909c6cbd38ed60ecc5ce52ff)
1d2a56bd2STaylor Simpson /*
2d2a56bd2STaylor Simpson  *  Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
3d2a56bd2STaylor Simpson  *
4d2a56bd2STaylor Simpson  *  This program is free software; you can redistribute it and/or modify
5d2a56bd2STaylor Simpson  *  it under the terms of the GNU General Public License as published by
6d2a56bd2STaylor Simpson  *  the Free Software Foundation; either version 2 of the License, or
7d2a56bd2STaylor Simpson  *  (at your option) any later version.
8d2a56bd2STaylor Simpson  *
9d2a56bd2STaylor Simpson  *  This program is distributed in the hope that it will be useful,
10d2a56bd2STaylor Simpson  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11d2a56bd2STaylor Simpson  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12d2a56bd2STaylor Simpson  *  GNU General Public License for more details.
13d2a56bd2STaylor Simpson  *
14d2a56bd2STaylor Simpson  *  You should have received a copy of the GNU General Public License
15d2a56bd2STaylor Simpson  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
16d2a56bd2STaylor Simpson  */
17d2a56bd2STaylor Simpson 
18d2a56bd2STaylor Simpson #ifndef HEXAGON_TARGET_SIGNAL_H
19d2a56bd2STaylor Simpson #define HEXAGON_TARGET_SIGNAL_H
20d2a56bd2STaylor Simpson 
21d2a56bd2STaylor Simpson typedef struct target_sigaltstack {
22d2a56bd2STaylor Simpson     abi_ulong ss_sp;
23d2a56bd2STaylor Simpson     abi_int ss_flags;
24d2a56bd2STaylor Simpson     abi_ulong ss_size;
25d2a56bd2STaylor Simpson } target_stack_t;
26d2a56bd2STaylor Simpson 
27d2a56bd2STaylor Simpson #define TARGET_SS_ONSTACK 1
28d2a56bd2STaylor Simpson #define TARGET_SS_DISABLE 2
29d2a56bd2STaylor Simpson 
30d2a56bd2STaylor Simpson #define TARGET_MINSIGSTKSZ 2048
31d2a56bd2STaylor Simpson 
32d2a56bd2STaylor Simpson #include "../generic/signal.h"
33d2a56bd2STaylor Simpson 
34*c8ef02b1SRichard Henderson #define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
35*c8ef02b1SRichard Henderson 
36d2a56bd2STaylor Simpson #endif /* TARGET_SIGNAL_H */
37