File: offsets.h

package info (click to toggle)
libunwind 1.1-3.2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,540 kB
  • ctags: 5,665
  • sloc: ansic: 31,521; sh: 18,062; asm: 1,851; makefile: 866; cpp: 118
file content (49 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Linux-specific definitions: */

/* Define various structure offsets to simplify cross-compilation.  */

/* Offsets for AArch64 Linux "ucontext_t":  */

#define LINUX_UC_FLAGS_OFF	0x0
#define LINUX_UC_LINK_OFF	0x8
#define LINUX_UC_STACK_OFF	0x10
#define LINUX_UC_SIGMASK_OFF	0x28
#define LINUX_UC_MCONTEXT_OFF	0xb0

/* Offsets for AArch64 Linux "struct sigcontext":  */

#define LINUX_SC_FAULTADDRESS_OFF	0x00
#define LINUX_SC_X0_OFF		0x008
#define LINUX_SC_X1_OFF		0x010
#define LINUX_SC_X2_OFF		0x018
#define LINUX_SC_X3_OFF		0x020
#define LINUX_SC_X4_OFF		0x028
#define LINUX_SC_X5_OFF		0x030
#define LINUX_SC_X6_OFF		0x038
#define LINUX_SC_X7_OFF		0x040
#define LINUX_SC_X8_OFF		0x048
#define LINUX_SC_X9_OFF		0x050
#define LINUX_SC_X10_OFF	0x058
#define LINUX_SC_X11_OFF	0x060
#define LINUX_SC_X12_OFF	0x068
#define LINUX_SC_X13_OFF	0x070
#define LINUX_SC_X14_OFF	0x078
#define LINUX_SC_X15_OFF	0x080
#define LINUX_SC_X16_OFF	0x088
#define LINUX_SC_X17_OFF	0x090
#define LINUX_SC_X18_OFF	0x098
#define LINUX_SC_X19_OFF	0x0a0
#define LINUX_SC_X20_OFF	0x0a8
#define LINUX_SC_X21_OFF	0x0b0
#define LINUX_SC_X22_OFF	0x0b8
#define LINUX_SC_X23_OFF	0x0c0
#define LINUX_SC_X24_OFF	0x0c8
#define LINUX_SC_X25_OFF	0x0d0
#define LINUX_SC_X26_OFF	0x0d8
#define LINUX_SC_X27_OFF	0x0e0
#define LINUX_SC_X28_OFF	0x0e8
#define LINUX_SC_X29_OFF	0x0f0
#define LINUX_SC_X30_OFF	0x0f8
#define LINUX_SC_SP_OFF		0x100
#define LINUX_SC_PC_OFF		0x108
#define LINUX_SC_PSTATE_OFF	0x110