blob: 2af8f12ca16169a8f78f2a1d0b138bd563f98334 [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-x86_64/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 long __rbx;
10 unsigned long __rsp;
11 unsigned long __rbp;
12 unsigned long __r12;
13 unsigned long __r13;
14 unsigned long __r14;
15 unsigned long __r15;
16 unsigned long __rip;
17};
18
19typedef struct __jmp_buf jmp_buf[1];
20
Jeff Dike3c917352006-09-27 01:50:40 -070021#define JB_IP __rip
22#define JB_SP __rsp
23
Jeff Dike13c06be2006-09-25 23:32:59 -070024#endif /* _SETJMP_H */