public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] LoongArch: Add greg_t and gregset_t.
@ 2022-07-29  1:23 Yinyu Cai
  0 siblings, 0 replies; only message in thread
From: Yinyu Cai @ 2022-07-29  1:23 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bce0218d9a8355f82f76543fc4acdc721e22dcd6

commit bce0218d9a8355f82f76543fc4acdc721e22dcd6
Author: caiyinyu <caiyinyu@loongson.cn>
Date:   Thu Jul 28 03:25:40 2022 +0800

    LoongArch: Add greg_t and gregset_t.

Diff:
---
 sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h b/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
index e334a45a44..db86380d55 100644
--- a/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-29  1:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29  1:23 [glibc] LoongArch: Add greg_t and gregset_t Yinyu Cai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).