xref: /linux/arch/x86/um/shared/sysdep/archsetjmp_32.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * arch/um/include/sysdep-i386/archsetjmp.h
4  */
5 
6 #ifndef _KLIBC_ARCHSETJMP_H
7 #define _KLIBC_ARCHSETJMP_H
8 
9 struct __jmp_buf {
10 	unsigned int __ebx;
11 	unsigned int __esp;
12 	unsigned int __ebp;
13 	unsigned int __esi;
14 	unsigned int __edi;
15 	unsigned int __eip;
16 };
17 
18 typedef struct __jmp_buf jmp_buf[1];
19 
20 #define JB_IP __eip
21 #define JB_SP __esp
22 
23 #endif				/* _SETJMP_H */
24