Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/x86/um/shared/sysdep/archsetjmp_64.h
26516 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* arch/um/include/sysdep-x86_64/archsetjmp.h
4
*/
5
6
#ifndef _KLIBC_ARCHSETJMP_H
7
#define _KLIBC_ARCHSETJMP_H
8
9
struct __jmp_buf {
10
unsigned long __rbx;
11
unsigned long __rsp;
12
unsigned long __rbp;
13
unsigned long __r12;
14
unsigned long __r13;
15
unsigned long __r14;
16
unsigned long __r15;
17
unsigned long __rip;
18
};
19
20
typedef struct __jmp_buf jmp_buf[1];
21
22
#define JB_IP __rip
23
#define JB_SP __rsp
24
25
#endif /* _SETJMP_H */
26
27