Mercurial > hg > Members > innparusu > xv6-rpi
comparison cbclang/arm/setjmp.h @ 14:02a1ce33746e
armclang
author | mir3636 |
---|---|
date | Fri, 16 Feb 2018 20:28:53 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:f28daf1e47c1 | 14:02a1ce33746e |
---|---|
1 | |
2 typedef int __jmp_buf[64] __attribute__((__aligned__ (8))); | |
3 typedef int __sig_atomic_t; | |
4 typedef struct | |
5 { | |
6 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
7 } __sigset_t; | |
8 struct __jmp_buf_tag | |
9 { | |
10 __jmp_buf __jmpbuf; | |
11 int __mask_was_saved; | |
12 __sigset_t __saved_mask; | |
13 }; | |
14 | |
15 typedef struct __jmp_buf_tag jmp_buf[1]; | |
16 extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); | |
17 | |
18 extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); | |
19 extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); | |
20 | |
21 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) | |
22 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
23 | |
24 extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) | |
25 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
26 typedef struct __jmp_buf_tag sigjmp_buf[1]; | |
27 extern void siglongjmp (sigjmp_buf __env, int __val) | |
28 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
29 |