All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shea Levy <shea@shealevy.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Matt Fleming <matt.fleming@intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: EFI Boot Stub Early Console
Date: Mon, 19 Mar 2012 12:02:21 -0400	[thread overview]
Message-ID: <4F67588D.3080704@shealevy.com> (raw)
In-Reply-To: <20120319155639.7cff5df6@pyx>

On 3/19/12 11:56 AM, 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 ?

ConOut will work before the call to ExitBootServices(), but any 
bootloader (including the boot stub) calls that before starting the 
normal kernel boot process. I'm working on a generic earlyprintk that 
provides the same functionality as the existing earlyprintks that will 
work for any EFI boot. Matt already submitted a patch for an efi_printk 
that will be sufficient for the boot stub itself before the call to 
ExitBootServices().

~Shea

  reply	other threads:[~2012-03-19 16:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 18:56 EFI Boot Stub Early Console Shea Levy
2012-03-12 19:00 ` Shea Levy
2012-03-12 22:11   ` H. Peter Anvin
2012-03-12 22:18     ` Shea Levy
2012-03-12 22:23       ` H. Peter Anvin
2012-03-12 22:28         ` Shea Levy
2012-03-17 13:12         ` Shea Levy
2012-03-18 11:21           ` Matt Fleming
2012-03-18 12:10             ` Shea Levy
2012-03-19  8:47               ` Matt Fleming
2012-03-19 15:56                 ` Alan Cox
2012-03-19 16:02                   ` Shea Levy [this message]
2012-03-19 16:03                   ` Matt Fleming
2012-03-20 15:45                     ` Maarten Lankhorst
2012-03-20 16:43                       ` H. Peter Anvin
     [not found]       ` <CAOhV88Om7hKHeaGNp-PtFkn=y0T9EBQCbPSBE58vOYQ2+Genew@mail.gmail.com>
2012-03-18  4:29         ` Shea Levy

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=4F67588D.3080704@shealevy.com \
    --to=shea@shealevy.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt.fleming@intel.com \
    /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.