blob: 0f312085ce1d26ce7bec6b890d646f4f0194fc14 [file] [log] [blame]
Jeff Dike13c06be2006-09-25 23:32:59 -07001/*
Uwe Kleine-König58862692007-05-09 07:51:49 +02002 * arch/um/include/sysdep-i386/archsetjmp.h
Jeff Dike13c06be2006-09-25 23:32:59 -07003 */
4
5#ifndef _KLIBC_ARCHSETJMP_H
6#define _KLIBC_ARCHSETJMP_H
7
8struct __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
17typedef struct __jmp_buf jmp_buf[1];
18
Jeff Dike3c917352006-09-27 01:50:40 -070019#define JB_IP __eip
20#define JB_SP __esp
21
Jeff Dike13c06be2006-09-25 23:32:59 -070022#endif /* _SETJMP_H */