All of lore.kernel.org
 help / color / mirror / Atom feed
From: phcoder <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Framebuffer address and kernel video mode
Date: Thu, 05 Feb 2009 21:44:59 +0100	[thread overview]
Message-ID: <498B4FCB.6090106@gmail.com> (raw)

Hello. First of all some good news: I managed to boot xnu kernel. To do 
so I need to set it to video mode and pass video mode info to kernel. 
Now I do it in adapter-specific way which is bad and ugly. So I would 
like to propose an interface to set video mode before loading kernel and 
then retrieve information:
For this I propose to put grub_gfxterm_init lines 253 (modevar = 
grub_env_get ("gfxmode"))-482 (grub_video_fill_rect (...)) into video.c as
grub_video_setup_by_var (char *varname)
The informations I need is:

framebuffer address, bytes_per_scan_line, resolution, color depth

Unfortunately framebuffer_address and bytes_per_scanline is missing from 
  struct grub_video_mode_info. I propose to add it to this structure

Thanks
Vladimir 'phcoder' Serbinenko



             reply	other threads:[~2009-02-05 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 20:44 phcoder [this message]
2009-02-05 22:54 ` Framebuffer address and kernel video mode Colin D Bennett
2009-02-06  6:11   ` phcoder
2009-02-07 22:56   ` Robert Millan
2009-02-07 22:54 ` Robert Millan

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=498B4FCB.6090106@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.