]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
LoongArch: Add greg_t and gregset_t.
authorcaiyinyu <caiyinyu@loongson.cn>
Wed, 27 Jul 2022 19:25:40 +0000 (03:25 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Fri, 29 Jul 2022 01:15:21 +0000 (09:15 +0800)
sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h

index e334a45a44a049eb5d478c37d31140070a627d97..db86380d55688914d6ca2a54c9a1da2257844334 100644 (file)
@@ -38,6 +38,9 @@
 #define LARCH_REG_S2 25
 #define LARCH_REG_NARGS 8
 
+typedef unsigned long int greg_t;
+/* Container for all general registers.  */
+typedef greg_t gregset_t[32];
 #endif
 
 typedef struct mcontext_t