9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] kernel: handle 64-bit multiboot framebuffer address
@ 2022-11-15 11:30 Michael Forney
  0 siblings, 0 replies; only message in thread
From: Michael Forney @ 2022-11-15 11:30 UTC (permalink / raw)
  To: 9front

---
diff f9fba3091ae59d88fbe40bd3c4a0117c1413c135 dd5dd8d37b0140a5973aaded86157ce7dfb60885
--- a/sys/src/9/pc/bootargs.c
+++ b/sys/src/9/pc/bootargs.c
@@ -64,12 +64,12 @@
 				(1UL<<p[3])-1 << p[2],
 				(1UL<<p[5])-1 << p[4]);
 			}
-			cp = seprint(cp, ep, "*bootscreen=%dx%dx%d %s %#lux\n",
+			cp = seprint(cp, ep, "*bootscreen=%dx%dx%d %s %#llux\n",
 				(int)multiboot[24]*8 / depth,
 				(int)multiboot[26],
 				depth,
 				chan,
-				multiboot[22]);
+				(uvlong)multiboot[23]<<32 | multiboot[22]);
 		}
 	} else
 	if((multiboot[0] & (1<<11)) != 0 && multiboot[19] != 0)		/* vbe mode info */

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

only message in thread, other threads:[~2022-11-15 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 11:30 [9front] [PATCH] kernel: handle 64-bit multiboot framebuffer address Michael Forney

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