projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add pidfd_getfd and openat2 syscall numbers from linux v5.6
[musl]
/
arch
/
microblaze
/
bits
/
signal.h
diff --git
a/arch/microblaze/bits/signal.h
b/arch/microblaze/bits/signal.h
index
bb60d0d
..
490f83b
100644
(file)
--- a/
arch/microblaze/bits/signal.h
+++ b/
arch/microblaze/bits/signal.h
@@
-1,9
+1,14
@@
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#define MINSIGSTKSZ 2048
+#define SIGSTKSZ 8192
+#endif
+
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-typedef
struct sigcontext
-{
+typedef
unsigned long greg_t, gregset_t[38];
+
typedef struct sigcontext
{
struct {
unsigned long r0, r1, r2, r3, r4, r5, r6, r7;
unsigned long r8, r9, r10, r11, r12, r13, r14, r15;
struct {
unsigned long r0, r1, r2, r3, r4, r5, r6, r7;
unsigned long r8, r9, r10, r11, r12, r13, r14, r15;
@@
-20,6
+25,12
@@
typedef struct {
} mcontext_t;
#endif
} mcontext_t;
#endif
+struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+};
+
typedef struct __ucontext {
unsigned long uc_flags;
struct __ucontext *uc_link;
typedef struct __ucontext {
unsigned long uc_flags;
struct __ucontext *uc_link;
@@
-45,6
+56,7
@@
typedef struct __ucontext {
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
+#define SIGIOT SIGABRT
#define SIGBUS 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGBUS 7
#define SIGFPE 8
#define SIGKILL 9