Re: [PATCH] Fix efifb initialisation when the only GOP device implements ConOut.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2013-01-07 at 18:43 +0000, Matthew Garrett wrote:
> The kernel does, the EFI boot stub doesn't. There's probably an argument 
> for having it fail in that case, but it wouldn't even be able to print 
> an error message without some gymnastics.

Printing an error message is simple enough from assembler; you just need
to call sys_table->con_out->output_string.

What should it say?

 "Sorry, this kernel cannot boot in " (32|64) "-bit mode this way. Your
bootloader should have ignored the shiny new EFI handover protocol and
booted it the old way. It would have worked then, albeit without EFI
runtime services. Which you probably wouldn't have missed."

-- 
dwmw2

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux