Jeff Dike | 13c06be | 2006-09-25 23:32:59 -0700 | [diff] [blame] | 1 | /* |
Uwe Kleine-König | 5886269 | 2007-05-09 07:51:49 +0200 | [diff] [blame] | 2 | * arch/um/include/sysdep-i386/archsetjmp.h |
Jeff Dike | 13c06be | 2006-09-25 23:32:59 -0700 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | #ifndef _KLIBC_ARCHSETJMP_H |
| 6 | #define _KLIBC_ARCHSETJMP_H |
| 7 | |
| 8 | struct __jmp_buf { |
| 9 | unsigned int __ebx; |
| 10 | unsigned int __esp; |
| 11 | unsigned int __ebp; |
| 12 | unsigned int __esi; |
| 13 | unsigned int __edi; |
| 14 | unsigned int __eip; |
| 15 | }; |
| 16 | |
| 17 | typedef struct __jmp_buf jmp_buf[1]; |
| 18 | |
Jeff Dike | 3c91735 | 2006-09-27 01:50:40 -0700 | [diff] [blame] | 19 | #define JB_IP __eip |
| 20 | #define JB_SP __esp |
| 21 | |
Jeff Dike | 13c06be | 2006-09-25 23:32:59 -0700 | [diff] [blame] | 22 | #endif /* _SETJMP_H */ |