[OpenBIOS] [commit] r1080 - trunk/openbios-devel/packages
repository service
svn at openbios.org
Thu Dec 13 22:30:26 CET 2012
Author: mcayland
Date: Thu Dec 13 22:30:25 2012
New Revision: 1080
URL: http://tracker.coreboot.org/trac/openbios/changeset/1080
Log:
video.c: Place framebuffer address in frame-buffer-adr
BootX gets the framebuffer address to provide to Mac OS from the
frame-buffer-adr value. This value was previously just set to null.
This is in agreement with section 3.8.4.4 of the IEE1275 specification.
Signed-off-by: William Hahne <will07c5 at gmail.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
Modified:
trunk/openbios-devel/packages/video.c
Modified: trunk/openbios-devel/packages/video.c
==============================================================================
--- trunk/openbios-devel/packages/video.c Thu Dec 13 22:30:23 2012 (r1079)
+++ trunk/openbios-devel/packages/video.c Thu Dec 13 22:30:25 2012 (r1080)
@@ -339,6 +339,9 @@
video.has_video = 1;
video.pal = malloc( 256 * sizeof(unsigned long) );
+ PUSH(video.fb.mvirt);
+ feval("to frame-buffer-adr");
+
#if defined(CONFIG_OFMEM) && defined(CONFIG_DRIVER_PCI)
size = ((video.fb.h * video.fb.rb) + 0xfff) & ~0xfff;
More information about the OpenBIOS
mailing list