From: Pavel Roskin <proski@gnu.org>
To: Robert Millan <rmh@aybabtu.com>,
The development of GRUB 2 <grub-devel@gnu.org>
Subject: Redefining GRUB_MOD_GAP in init.c
Date: Sun, 27 Jan 2008 22:25:32 -0500 [thread overview]
Message-ID: <1201490732.20392.15.camel@rd> (raw)
Hi Robert,
I'm concerned about your latest commit:
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
`GRUB_MOD_GAP' for platforms in which it's not defined.
The algorithm for calculating the start of the modules should be exactly
the same in grub-mkimage and in the core. Any fallbacks should be
coherent if possible. Therefore, I think it would be better to define
GRUB_MOD_GAP only in header files.
It's hard for me to understand why kern/powerpc/ieee1275/init.c can be
used on any platform other than PowerPC. I was assuming that my changes
would not affect other platforms.
Also, I don't see how GRUB_MOD_GAP would not be defined to 0x8000 for
i386-ieee1275 platform considering that
include/grub/i386/ieee1275/kernel.h simply includes
include/grub/powerpc/ieee1275/kernel.h
I suggest that i386-ieee1275 stops using any files for PowerPC.
kernel.h is not big, so it shouldn't be a problem to copy it. As for
init.c, it should be either copied or moved to a more suitable place.
--
Regards,
Pavel Roskin
next reply other threads:[~2008-01-28 3:25 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 3:25 Pavel Roskin [this message]
2008-01-28 9:09 ` Redefining GRUB_MOD_GAP in init.c Robert Millan
2008-01-28 9:30 ` GRUB_MOD_GAP for non-ieee1275 ELF platforms Robert Millan
2008-01-28 13:44 ` Pavel Roskin
2008-01-28 16:29 ` Robert Millan
2008-01-28 16:34 ` Pavel Roskin
2008-01-28 16:57 ` Robert Millan
2008-01-29 8:38 ` Marco Gerards
2008-01-29 9:06 ` Robert Millan
2008-01-29 9:32 ` Marco Gerards
2008-01-29 10:04 ` Robert Millan
2008-01-30 21:42 ` Pavel Roskin
2008-01-30 22:03 ` Robert Millan
2008-01-30 22:15 ` Pavel Roskin
2008-01-30 22:26 ` Robert Millan
2008-01-30 22:48 ` Pavel Roskin
2008-01-31 8:48 ` Marco Gerards
2008-01-31 10:47 ` Robert Millan
2008-01-31 11:38 ` Yoshinori K. Okuji
2008-01-31 12:47 ` Robert Millan
2008-01-31 13:30 ` Yoshinori K. Okuji
2008-01-29 8:36 ` Redefining GRUB_MOD_GAP in init.c Marco Gerards
2008-01-29 9:05 ` Robert Millan
2008-01-29 9:21 ` Marco Gerards
2008-01-29 9:27 ` CVS (Re: Redefining GRUB_MOD_GAP in init.c) Robert Millan
2008-01-29 11:15 ` Marco Gerards
2008-01-29 11:42 ` Yoshinori K. Okuji
2008-01-29 11:25 ` Marco Gerards
2008-01-30 21:35 ` Pavel Roskin
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=1201490732.20392.15.camel@rd \
--to=proski@gnu.org \
--cc=grub-devel@gnu.org \
--cc=rmh@aybabtu.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.