j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
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@gmail.com Signed-off-by: Mark Cave-Ayland mark.cave-ayland@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;