Re: EFI Boot Stub Early Console

From: Matt Fleming
Date: Mon Mar 19 2012 - 12:03:15 EST


On Mon, 2012-03-19 at 15:56 +0000, Alan Cox wrote:
> > > any bootloader (including the bootstub) will call ExitBootServices()
> > > before any printk'ing actually happens?? Or am I misunderstanding the
> > > spec somehow? I suppose I could just try it and see what happens...
> >
> > Oops. Good point, that isn't going to work.
>
> Surely it works fine if you are using bootstub directly from EFI ?

Yeah, up until the point you call ExitBootServices(), which is very
early in the boot process. After that you can't rely on the validity of
the console pointers in the system table.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/