hw/arm/boot: assert that secure_boot and secure_board_setup are false for AArch64
[qemu/ar7.git] / linux-user / riscv / target_signal.h
blobce77f752e3fc7a473fe950715fe3b080bf656223
1 #ifndef TARGET_SIGNAL_H
2 #define TARGET_SIGNAL_H
4 #include "cpu.h"
6 typedef struct target_sigaltstack {
7 abi_ulong ss_sp;
8 abi_int ss_flags;
9 abi_ulong ss_size;
10 } target_stack_t;
12 #define TARGET_SS_ONSTACK 1
13 #define TARGET_SS_DISABLE 2
15 #define TARGET_MINSIGSTKSZ 2048
16 #define TARGET_SIGSTKSZ 8192
18 static inline abi_ulong get_sp_from_cpustate(CPURISCVState *state)
20 return state->gpr[xSP];
23 #endif /* TARGET_SIGNAL_H */