bug/patch for i386 EFI boot
Eric W. Biederman
ebiederm at xmission.com
Wed Mar 12 22:39:42 EDT 2008
"Scott D. Davilla" <davilla at 4pi.com> writes:
> Done and resubmitted with a proper subject line with commented out
> lines removed. VMware was mangling the leading tabs on the drag and
> drop from Linux to OS X ???
> And as follow up question. It there any access to
> screen_info.orig_video_isVGA besides linking to the kernel? If there
> is access to orig_video_isVGA then kexec can setup the screen boot
> params as the bootloader intended instead of assuming a default VGA
> config. The orig_video_isVGA is the only parameter missing to clone
> the initial screen_info information.
Let me take a stab at answering part of this.
Originally I recall kexec passed a configuration for no screen at all.
I think that is still the default of how we setup the data
structures. Then I merged a patch that detected which
type of screen there is (which you have recently amended).
The goal in kexec in this area has always been to use the user space
APIs and generate the data a normal bootloader or the 16bit setup code
would, without performing the BIOS calls.
If you can see a better way to do this we should go for it.
What we want is not so much the screen layout that the bootloader
provided but the current video mode. In frame buffer consoles
generally this can not change so it is a pass through.
Hopefully this helps a little.
More information about the kexec