PageRenderTime 37ms CodeModel.GetById 32ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/um/sys-x86_64/shared/sysdep/archsetjmp.h

https://bitbucket.org/ndreys/linux-sunxi
C++ Header | 24 lines | 16 code | 5 blank | 3 comment | 0 complexity | 5dc9c37075459d2ed40c8f69788140bd MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/*
 2 * arch/um/include/sysdep-x86_64/archsetjmp.h
 3 */
 4
 5#ifndef _KLIBC_ARCHSETJMP_H
 6#define _KLIBC_ARCHSETJMP_H
 7
 8struct __jmp_buf {
 9	unsigned long __rbx;
10	unsigned long __rsp;
11	unsigned long __rbp;
12	unsigned long __r12;
13	unsigned long __r13;
14	unsigned long __r14;
15	unsigned long __r15;
16	unsigned long __rip;
17};
18
19typedef struct __jmp_buf jmp_buf[1];
20
21#define JB_IP __rip
22#define JB_SP __rsp
23
24#endif				/* _SETJMP_H */