123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef _BITS_SETJMP_H
- #define _BITS_SETJMP_H 1
- #if !defined _SETJMP_H && !defined _PTHREAD_H
- # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
- #endif
- #ifndef _ASM
- typedef struct
- {
- unsigned long __pregs[6];
- unsigned long fp;
- unsigned long sp;
- unsigned long __rregs[8];
- unsigned long astat;
- unsigned long __lcregs[2];
- unsigned long a0w;
- unsigned long a0x;
- unsigned long a1w;
- unsigned long a1x;
- unsigned long __iregs[4];
- unsigned long __mregs[4];
- unsigned long __lregs[4];
- unsigned long __bregs[4];
- unsigned long pc;
- }__jmp_buf[1];
- #endif
- #define __JMP_BUF_SP 8
- #define _JMPBUF_UNWINDS(jmpbuf, address) \
- ((void *) (address) < (void *) (jmpbuf)->__pregs[6])
- #endif
|