From: "Javier Martín" <lordhabbit@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Move kern/loader.c to boot.mod and add preboot_support (was Re: Sendkey patch)
Date: Fri, 05 Sep 2008 18:47:30 +0200 [thread overview]
Message-ID: <1220633250.8537.17.camel@localhost> (raw)
In-Reply-To: <48C15AAF.1090007@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2074 bytes --]
El vie, 05-09-2008 a las 18:13 +0200, phcoder escribió:
> Hello. As I said in another email there is no need for it. I send a
> patch for it.
Well, I won't deny the patch is clever and looks good (I haven't tested
it yet). However, taking the generic "boot" command out of kernel and
leaving the several loader-specific assembly routines (which would be
the parts needing relocation) there is as elegant as vogon poetry.
However, if there is no opposition and your patch works fine - I'm about
to test it right now - we can first commit it (thus making core.img
smaller) and then work on getting the loader asm routines out of kernel.
-Habbit
> Vladimir 'phcoder' Serbinenko
> Javier Martín wrote:
> > El mié, 03-09-2008 a las 20:53 +0300, Vesa Jääskeläinen escribió:
> >> phcoder wrote:
> >>> Hello. In this case we can transfer the whole functionality located in
> >>> kern/loader.c to a dedicated module boot.mod. This module will also
> >>> register "boot" command. In this way the encapsulation won't be broken
> >>> and kernel will become even smaller.
> >> Remember that realmode code needs to reside below < 1 MiB. That is the
> >> reason realmode code is embedded in kernel. In there you only see jumps
> >> to RM and back to PM.
> > We could use the relocator functionality that was once discussed here (I
> > don't know if it was finally committed) so that modules could declare
> > "bundles" of code+data to be deployed to RM area. Or make sure every
> > single instruction in there uses 32-bit addressing, together with
> > artificial EIP-relativization of addresses like in drivemap_int13.S
> >
> > -Habbit
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
next prev parent reply other threads:[~2008-09-05 16:47 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 14:23 Sendkey patch phcoder
2008-09-02 14:54 ` Javier Martín
2008-09-02 15:58 ` phcoder
2008-09-02 16:12 ` phcoder
2008-09-02 16:19 ` Vesa Jääskeläinen
2008-09-02 19:01 ` phcoder
2008-09-02 19:29 ` Vesa Jääskeläinen
2008-09-02 16:30 ` Javier Martín
2008-09-02 18:39 ` phcoder
2008-09-02 20:10 ` Javier Martín
2008-09-02 22:22 ` phcoder
2008-09-02 23:38 ` Javier Martín
2008-09-03 0:08 ` phcoder
2008-09-03 0:54 ` Javier Martín
2008-09-03 9:10 ` phcoder
2008-09-03 11:19 ` Javier Martín
2008-09-03 10:37 ` bitbucket
2008-09-03 7:07 ` Felix Zielcke
2008-09-03 17:07 ` Vesa Jääskeläinen
2008-09-03 17:23 ` Javier Martín
2008-09-03 17:25 ` Felix Zielcke
2008-09-03 17:48 ` phcoder
2008-09-03 17:53 ` Vesa Jääskeläinen
2008-09-03 18:11 ` phcoder
2008-09-04 22:16 ` Javier Martín
2008-09-05 16:13 ` [PATCH] Move kern/loader.c to boot.mod and add preboot_support (was Re: Sendkey patch) phcoder
2008-09-05 16:47 ` Javier Martín [this message]
2008-09-08 19:48 ` Vesa Jääskeläinen
2008-09-08 20:11 ` Javier Martín
2008-09-08 20:25 ` Vesa Jääskeläinen
2008-09-08 20:59 ` Javier Martín
2008-12-15 13:54 ` phcoder
2008-12-15 16:41 ` Vesa Jääskeläinen
2008-12-16 14:34 ` phcoder
2009-02-07 19:26 ` Robert Millan
2009-02-07 19:30 ` Robert Millan
2009-02-07 23:02 ` phcoder
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=1220633250.8537.17.camel@localhost \
--to=lordhabbit@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox