mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
To: <musl@lists.openwall.com>
Cc: Brian Cain <bcain@quicinc.com>, Sid Manning <sidneym@quicinc.com>,
	"Rich Felker" <dalias@libc.org>, Fangrui Song <i@maskray.me>,
	Szabolcs Nagy <nsz@port70.net>
Subject: [musl] [RFC PATCH 4/5] hexagon: add bits/user.h
Date: Wed, 30 Aug 2023 09:22:29 -0300	[thread overview]
Message-ID: <c212e0538d839cb4763eed1e2c3c9c9f3ab4e492.1693396649.git.quic_mathbern@quicinc.com> (raw)
In-Reply-To: <cover.1693396649.git.quic_mathbern@quicinc.com>

From: Brian Cain <bcain@quicinc.com>

---
 arch/hexagon/bits/user.h | 60 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 arch/hexagon/bits/user.h

diff --git a/arch/hexagon/bits/user.h b/arch/hexagon/bits/user.h
new file mode 100644
index 00000000..4396385d
--- /dev/null
+++ b/arch/hexagon/bits/user.h
@@ -0,0 +1,60 @@
+#ifndef HEXAGON_ASM_USER_H
+#define HEXAGON_ASM_USER_H
+
+struct user_regs_struct {
+  unsigned long r0;
+  unsigned long r1;
+  unsigned long r2;
+  unsigned long r3;
+  unsigned long r4;
+  unsigned long r5;
+  unsigned long r6;
+  unsigned long r7;
+  unsigned long r8;
+  unsigned long r9;
+  unsigned long r10;
+  unsigned long r11;
+  unsigned long r12;
+  unsigned long r13;
+  unsigned long r14;
+  unsigned long r15;
+  unsigned long r16;
+  unsigned long r17;
+  unsigned long r18;
+  unsigned long r19;
+  unsigned long r20;
+  unsigned long r21;
+  unsigned long r22;
+  unsigned long r23;
+  unsigned long r24;
+  unsigned long r25;
+  unsigned long r26;
+  unsigned long r27;
+  unsigned long r28;
+  unsigned long r29;
+  unsigned long r30;
+  unsigned long r31;
+  unsigned long sa0;
+  unsigned long lc0;
+  unsigned long sa1;
+  unsigned long lc1;
+  unsigned long m0;
+  unsigned long m1;
+  unsigned long usr;
+  unsigned long p3_0;
+  unsigned long gp;
+  unsigned long ugp;
+  unsigned long pc;
+  unsigned long cause;
+  unsigned long badva;
+  unsigned long cs0;
+  unsigned long cs1;
+  unsigned long pad1;
+};
+
+#define ELF_NGREG 48
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
+
+typedef unsigned long elf_fpregset_t;
+
+#endif
-- 
2.37.2


  parent reply	other threads:[~2023-08-30 12:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-30 12:22 [musl] [RFC PATCH 0/5] Add support to Hexagon DSP Matheus Tavares Bernardino
2023-08-30 12:22 ` [musl] [RFC PATCH 1/5] Add support to Hexagon arch Matheus Tavares Bernardino
2023-08-30 12:22 ` [musl] [RFC PATCH 2/5] hexagon: add fenv header and implementation Matheus Tavares Bernardino
2023-08-30 12:22 ` [musl] [RFC PATCH 3/5] hexagon: add fma/fmaxf/fminf routines Matheus Tavares Bernardino
2023-08-30 12:22 ` Matheus Tavares Bernardino [this message]
2023-08-30 12:22 ` [musl] [RFC PATCH 5/5] INSTALL: add 'Hexagon' to list of supported targets Matheus Tavares Bernardino
2023-09-08 11:18 ` [musl] [RFC PATCH 0/5] Add support to Hexagon DSP Matheus Tavares Bernardino
2023-09-26 16:43 ` Rob Landley
2023-09-26 16:48   ` Brian Cain
2023-09-26 17:55     ` Rob Landley
2023-09-26 18:13       ` Brian Cain
2023-09-27  0:05         ` Brian Cain
2023-09-27  1:49         ` Rob Landley
2023-09-27  2:10           ` Brian Cain
2023-09-27 13:19             ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c212e0538d839cb4763eed1e2c3c9c9f3ab4e492.1693396649.git.quic_mathbern@quicinc.com \
    --to=quic_mathbern@quicinc.com \
    --cc=bcain@quicinc.com \
    --cc=dalias@libc.org \
    --cc=i@maskray.me \
    --cc=musl@lists.openwall.com \
    --cc=nsz@port70.net \
    --cc=sidneym@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).