9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Adding AMD Jaguar and Puma SOCs
@ 2023-07-14  8:32 Dave Woodman
  2023-07-16 21:34 ` cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Woodman @ 2023-07-14  8:32 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

Hello,

With the sudden glut of Igel thin clients being seen at the moment, I
invested and found to my pleasure that 9front runs nicely on them

These are based on AMD X86  SOCs, so I modified devarch.c (/sys/src/9/pc) to
include them, and ask that they be considered for addition.

The patch is attached, but is so short I’ll put it here verbatim.

diff e52c3b4a5ba1574b1ff65e134fb9118fe2a86bba uncommitted
--- a/sys/src/9/pc/devarch.c
+++ b/sys/src/9/pc/devarch.c
@@ -435,6 +435,8 @@
        { 6,    -1,     11,     "AMD-Athlon", },/* guesswork */
        { 0xF,  -1,     11,     "AMD-K8", },    /* guesswork */
        { 0x1F, -1,     11,     "AMD-K10", },   /* guesswork */
+       { 22,   0,      11,     "AMD Jaguar", },
+       { 22,   3,      11,     "AMD Puma", },
        { 23,   1,      13,     "AMD Ryzen" },

        { -1,   -1,     11,     "unknown", },   /* total default */

Regards,
Dave.

[-- Attachment #2: devarch.c.patch --]
[-- Type: application/octet-stream, Size: 433 bytes --]

diff e52c3b4a5ba1574b1ff65e134fb9118fe2a86bba uncommitted
--- a/sys/src/9/pc/devarch.c
+++ b/sys/src/9/pc/devarch.c
@@ -435,6 +435,8 @@
 	{ 6,	-1,	11,	"AMD-Athlon", },/* guesswork */
 	{ 0xF,	-1,	11,	"AMD-K8", },	/* guesswork */
 	{ 0x1F,	-1,	11,	"AMD-K10", },	/* guesswork */
+	{ 22,	0,	11,	"AMD Jaguar", },
+	{ 22,	3,	11,	"AMD Puma", },
 	{ 23,	1,	13,	"AMD Ryzen" },
 
 	{ -1,	-1,	11,	"unknown", },	/* total default */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] Adding AMD Jaguar and Puma SOCs
  2023-07-14  8:32 [9front] Adding AMD Jaguar and Puma SOCs Dave Woodman
@ 2023-07-16 21:34 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2023-07-16 21:34 UTC (permalink / raw)
  To: 9front

applied, thanks!

--
cinap

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-16 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  8:32 [9front] Adding AMD Jaguar and Puma SOCs Dave Woodman
2023-07-16 21:34 ` cinap_lenrek

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).