1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 12:03:41 +01:00

Add definitions for Linux interrupt frame layout (struct pt_regs).

(Logical change 1.89)
This commit is contained in:
hp.com!davidm 2003-04-25 07:44:23 +00:00
parent 1045cb2cc0
commit 0cc1fcb76a

View file

@ -31,3 +31,54 @@
#define LINUX_SC_AR_CSD_OFF 0x9e0
#define LINUX_SC_AR_26_OFF 0x9e8
#define LINUX_SC_MASK 0xa50
/* Layout of the Linux kernel interrupt frame (struct pt_regs). */
#define LINUX_PT_IPSR_OFF 0x000
#define LINUX_PT_IIP_OFF 0x008
#define LINUX_PT_IFS_OFF 0x010
#define LINUX_PT_UNAT_OFF 0x018
#define LINUX_PT_PFS_OFF 0x020
#define LINUX_PT_RSC_OFF 0x028
#define LINUX_PT_RNAT_OFF 0x030
#define LINUX_PT_BSPSTORE_OFF 0x038
#define LINUX_PT_PR_OFF 0x040
#define LINUX_PT_B6_OFF 0x048
#define LINUX_PT_LOADRS_OFF 0x050
#define LINUX_PT_R1_OFF 0x058
#define LINUX_PT_R2_OFF 0x060
#define LINUX_PT_R3_OFF 0x068
#define LINUX_PT_R12_OFF 0x070
#define LINUX_PT_R13_OFF 0x078
#define LINUX_PT_R14_OFF 0x080
#define LINUX_PT_R15_OFF 0x088
#define LINUX_PT_R8_OFF 0x090
#define LINUX_PT_R9_OFF 0x098
#define LINUX_PT_R10_OFF 0x0a0
#define LINUX_PT_R11_OFF 0x0a8
#define LINUX_PT_R16_OFF 0x0b0
#define LINUX_PT_R17_OFF 0x0b8
#define LINUX_PT_R18_OFF 0x0c0
#define LINUX_PT_R19_OFF 0x0c8
#define LINUX_PT_R20_OFF 0x0d0
#define LINUX_PT_R21_OFF 0x0d8
#define LINUX_PT_R22_OFF 0x0e0
#define LINUX_PT_R23_OFF 0x0e8
#define LINUX_PT_R24_OFF 0x0f0
#define LINUX_PT_R25_OFF 0x0f8
#define LINUX_PT_R26_OFF 0x100
#define LINUX_PT_R27_OFF 0x108
#define LINUX_PT_R28_OFF 0x110
#define LINUX_PT_R29_OFF 0x118
#define LINUX_PT_R30_OFF 0x120
#define LINUX_PT_R31_OFF 0x128
#define LINUX_PT_CCV_OFF 0x130
#define LINUX_PT_FPSR_OFF 0x138
#define LINUX_PT_B0_OFF 0x140
#define LINUX_PT_B7_OFF 0x148
#define LINUX_PT_F6_OFF 0x150
#define LINUX_PT_F7_OFF 0x160
#define LINUX_PT_F8_OFF 0x170
#define LINUX_PT_F9_OFF 0x180
#define LINUX_PT_P_NONSYS 5 /* must match pNonSys in entry.h */