blob: e223c65adabdd717fb0d4d9d1ad6ee8c4c89d430 [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Ben Chengd1c09392013-11-06 15:23:59 -08002#ifndef _ASMARM_SIGCONTEXT_H
3#define _ASMARM_SIGCONTEXT_H
4
5/*
6 * Signal context structure - contains all info to do with the state
7 * before the signal handler was invoked. Note: only add new entries
8 * to the end of the structure.
9 */
10struct sigcontext {
11 unsigned long trap_no;
12 unsigned long error_code;
13 unsigned long oldmask;
14 unsigned long arm_r0;
15 unsigned long arm_r1;
16 unsigned long arm_r2;
17 unsigned long arm_r3;
18 unsigned long arm_r4;
19 unsigned long arm_r5;
20 unsigned long arm_r6;
21 unsigned long arm_r7;
22 unsigned long arm_r8;
23 unsigned long arm_r9;
24 unsigned long arm_r10;
25 unsigned long arm_fp;
26 unsigned long arm_ip;
27 unsigned long arm_sp;
28 unsigned long arm_lr;
29 unsigned long arm_pc;
30 unsigned long arm_cpsr;
31 unsigned long fault_address;
32};
33
34
35#endif