1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _ASMPARISC_SIGCONTEXT_H
3#define _ASMPARISC_SIGCONTEXT_H
4
5#define PARISC_SC_FLAG_ONSTACK 1<<0
6#define PARISC_SC_FLAG_IN_SYSCALL 1<<1
7
8/* We will add more stuff here as it becomes necessary, until we know
9   it works. */
10struct sigcontext {
11	unsigned long sc_flags;
12
13	unsigned long sc_gr[32]; /* PSW in sc_gr[0] */
14	unsigned long long sc_fr[32]; /* FIXME, do we need other state info? */
15	unsigned long sc_iasq[2];
16	unsigned long sc_iaoq[2];
17	unsigned long sc_sar; /* cr11 */
18};
19
20
21#endif
22