xref: /haiku/src/system/libroot/posix/arch/x86/setjmp_internal.h (revision 5af32e752606778be5dd7379f319fe43cb3f6b8c)
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
5 #ifndef SETJMP_INTERNAL_H
6 #define SETJMP_INTERNAL_H
7 
8 /* These are the fields of the __jmp_regs structure */
9 
10 #define JMP_REGS_EBX	0
11 #define JMP_REGS_ESI	4
12 #define JMP_REGS_EDI	8
13 #define JMP_REGS_EBP	12
14 #define JMP_REGS_ESP	16
15 #define JMP_REGS_PC		20
16 
17 #define FUNCTION(x) .global x; .type x,@function; x
18 
19 #endif	/* SETJMP_INTERNAL_H */
20