From: Michael Forney <mforney@mforney.org>
To: 9front@9front.org
Subject: [9front] [PATCH] kernel: handle 64-bit multiboot framebuffer address
Date: Tue, 15 Nov 2022 11:30:36 +0000 [thread overview]
Message-ID: <064F2364D10E65573DCAAC725E3C15BC@mforney.org> (raw)
---
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 */
reply other threads:[~2022-11-15 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=064F2364D10E65573DCAAC725E3C15BC@mforney.org \
--to=mforney@mforney.org \
--cc=9front@9front.org \
/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.
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).