[OpenBIOS] [PATCH 4/10] Place framebuffer address in frame-buffer-adr
William Hahne
will07c5 at gmail.com
Tue Aug 9 23:54:50 CEST 2011
BootX gets the framebuffer address to provide to Mac OS from the
frame-buffer-adr value. This value was previously just set to null.
Index: packages/video.c
===================================================================
--- packages/video.c (revision 1041)
+++ packages/video.c (working copy)
@@ -332,6 +369,9 @@
video.has_video = 1;
video.pal = malloc( 256 * sizeof(unsigned long) );
+ PUSH(video.fb.mphys);
+ feval("to frame-buffer-adr");
+
#ifdef CONFIG_PPC
s = (video.fb.mphys & 0xfff);
size = ((video.fb.h * video.fb.rb + s) + 0xfff) & ~0xfff;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20110809/0bc857de/attachment.html>
More information about the OpenBIOS
mailing list