From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub_dl_unload_all()
Date: Thu, 24 Jan 2008 09:57:45 +0100 [thread overview]
Message-ID: <200801240957.45953.okuji@enbug.org> (raw)
In-Reply-To: <20080123195839.GA24785@thorin>
On Wednesday 23 January 2008 20:58, Robert Millan wrote:
> Is GRUB supposed to always call grub_dl_unload_all() when preparing to
> jump into a loaded multiboot image?
Yes.
> How important is it to unload all modules? What do you suggest? Do we fix
> everything to unload all modules (is that even possible?)? Do we unload
> all modules on i386-pc "because we can" and not do this on ieee1275
> platforms?
It is important so that we can make sure that all cleanups are executed before
transferring control. For example, if serial settings have been tweaked by
GRUB, they should be reverted to the original state. At least, this is
considered to be a good manner. Another example is video settings. Let's say,
GRUB changes video mode to show a fancy menu. Some operating systems may not
work well in graphical mode, then GRUB must turn it back to text mode.
Okuji
next prev parent reply other threads:[~2008-01-24 8:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-23 19:58 grub_dl_unload_all() Robert Millan
2008-01-24 8:57 ` Yoshinori K. Okuji [this message]
2008-01-24 11:47 ` grub_dl_unload_all() Robert Millan
2008-01-24 11:59 ` grub_dl_unload_all() Marco Gerards
2008-01-24 12:26 ` grub_dl_unload_all() Robert Millan
2008-01-24 12:48 ` grub_dl_unload_all() 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=200801240957.45953.okuji@enbug.org \
--to=okuji@enbug.org \
--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.