Date: Thu, 12 May 2022 12:56:11 -0600 From: Warner Losh <imp@bsdimp.com> To: Mori Hiroki <yamori813@yahoo.co.jp> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: DSP support Message-ID: <CANCZdfqqRSj-SfpbcMcS1QLJ0KgXBF7%2BO8V8fTLL_gC45d1h%2BQ@mail.gmail.com> In-Reply-To: <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp> References: <1730355085.2141074.1652362306262.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e3cbb505ded51ceb Content-Type: text/plain; charset="UTF-8" On Thu, May 12, 2022 at 7:32 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote: > Hi > > I want DSP support to FreeBSD 12. > > Ralink 24K have DPS v1. > > Ralink and Atheros 74k have DSP v1 and v2. > > I seem NetBSD support DPS on userland. > > Do you have advice something, please let me know. > At the highest level, if you want to use the DSP, you need to save and restore its state when it's being used. NetBSD should have some code to snag for that. I'm not familiar enough with toolchains to know the extent to which you'd need userland changes. But you can likely snag those from NetBSD as well, though you may need to use an external toolchain to get support for DSP, since it's a bit of a niche part of the architecture. Warner --000000000000e3cbb505ded51ceb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Thu, May 12, 2022 at 7:32 AM Mori = Hiroki <<a href=3D"mailto:yamori813@yahoo.co.jp">yamori813@yahoo.co.jp</= a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi= <br> <br> I want DSP support to FreeBSD 12.<br> <br> Ralink 24K have DPS v1.<br> <br> Ralink and Atheros 74k have DSP v1 and v2.<br> <br> I seem NetBSD support DPS on userland.<br> <br> Do you have advice something, please let me know.<br></blockquote><div><br>= </div><div>At the highest level, if you want to use the DSP, you need to sa= ve and restore</div><div>its state when it's being used. NetBSD should = have some code to snag for that.</div><div>I'm not familiar enough with= toolchains to know the extent to which you'd need</div><div>userland c= hanges. But you can likely snag those from NetBSD as well, though</div><div= >you may need to use an external toolchain to get support for DSP, since it= 's</div><div>a bit of a niche part of the architecture.</div><div><br><= /div><div>Warner <br></div></div></div> --000000000000e3cbb505ded51ceb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqqRSj-SfpbcMcS1QLJ0KgXBF7%2BO8V8fTLL_gC45d1h%2BQ>