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