18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/um/include/sysdep-i386/archsetjmp.h 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _KLIBC_ARCHSETJMP_H 78c2ecf20Sopenharmony_ci#define _KLIBC_ARCHSETJMP_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct __jmp_buf { 108c2ecf20Sopenharmony_ci unsigned int __ebx; 118c2ecf20Sopenharmony_ci unsigned int __esp; 128c2ecf20Sopenharmony_ci unsigned int __ebp; 138c2ecf20Sopenharmony_ci unsigned int __esi; 148c2ecf20Sopenharmony_ci unsigned int __edi; 158c2ecf20Sopenharmony_ci unsigned int __eip; 168c2ecf20Sopenharmony_ci}; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_citypedef struct __jmp_buf jmp_buf[1]; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define JB_IP __eip 218c2ecf20Sopenharmony_ci#define JB_SP __esp 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif /* _SETJMP_H */ 24