From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: partition map reorganization
Date: Tue, 02 Nov 2004 09:25:28 +0000 [thread overview]
Message-ID: <87u0s8eh6f.fsf@marco.marco-g.com> (raw)
In-Reply-To: <238F4F30-2C82-11D9-8335-000A95A0560C@penguinppc.org> (Hollis Blanchard's message of "Mon, 1 Nov 2004 21:49:03 -0600")
Hollis Blanchard <hollis@penguinppc.org> writes:
> I'm working on supporting more than one partition map per
> architecture. Currently, x86 builds use disk/i386/pc/partition.c, and
> PPC builds use disk/powerpc/ieee1275/partition.c. Both provide
> identically-named functions for architecture-neutral code
> (e.g. grub_partition_iterate). Additionally, Apple partition code
> deals with things it shouldn't (e.g. dos_type), so we can see that
> some abstraction is needed here.
Thanks for working on this. I planned to do this, but as you might
have noticed I did not have much time for working on GRUB 2 lately.
At the moment I do not have time to read your entire email and comment
on that, I will do that this evening.
Please make sure that for every partition type the endian is converted
to the host endian.
> In order to support both partition types (and potentially more, should
> the need arise) in the same binary, I'm introducing a "partition_ops"
> structure to struct grub_disk, which contains a couple function
> pointers that are set as appropriate at grub_disk_open time. There is
> one ops structure per partition map type (i.e. DOS and Apple right
> now).
Does this mean it will be possible to create modules for partitions?
For example applepartmap.mod or so. This is really important to me.
> It's not all ready for submission yet, but the struct division could
> go in first, to try to commit smaller incremental patches rather than
> one massive one. Is this ok?
Both ways are fine to me.
Thanks,
Marco
next prev parent reply other threads:[~2004-11-02 8:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 3:49 partition map reorganization Hollis Blanchard
2004-11-02 6:56 ` Tomas Ebenlendr
2004-11-02 15:10 ` Hollis Blanchard
2004-11-02 18:09 ` Tomas Ebenlendr
2004-11-02 9:25 ` Marco Gerards [this message]
2004-11-02 15:01 ` Hollis Blanchard
2004-11-02 16:23 ` Marco Gerards
2004-11-13 12:47 ` Marco Gerards
2004-11-15 16:09 ` ppc setjmp/longjmp Hollis Blanchard
2004-11-15 16:46 ` Yoshinori K. Okuji
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=87u0s8eh6f.fsf@marco.marco-g.com \
--to=metgerards@student.han.nl \
--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.