ref: 30c5296f32b87d83529d772732726891e1261c9c
parent: 29a28c9a443d20dbf7c9f0d869c3f70bf3f96c1f
author: Michael Forney <mforney@mforney.org>
date: Tue Nov 15 06:30:36 EST 2022
kernel: handle 64-bit multiboot framebuffer address
--- 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 */