]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/x86/um/shared/sysdep/archsetjmp_32.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / um / shared / sysdep / archsetjmp_32.h
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 */