From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] PPC cleanups
Date: Sun, 24 Apr 2005 18:19:48 +0200 [thread overview]
Message-ID: <87u0lwrvtn.fsf@student.han.nl> (raw)
In-Reply-To: <20050422035122.GA12337@miracle> (Hollis Blanchard's message of "Thu, 21 Apr 2005 22:51:22 -0500")
Hollis Blanchard <hollis@penguinppc.org> writes:
> This patch has a lot of long-overdue PPC cleanups, including build
> warnings. Since we all know the Changelog doesn't explain enough about a
> patch, a quick overview:
> - include/grub/powerpc/ieee1275/init.h was useless.
> - roundup() was unused.
> - rather than everyone accessing grub_ieee1275_flags directly, it's now
> static and provides test/set accessors.
> - grub_ieee1275_realmode should have always been a flag instead of a
> global; I don't know what I was thinking at the time.
> - ofdisk.h is a now real header (like biosdisk.h); no more
> grub_ofdisk_fini/grub_ofdisk_init "missing prototype" warnings.
>
> Important new functionality:
> - actually boot a Linux kernel successfully (don't prematurely free memory)
> - properly handle partition numbering on briQ and Pegasos
>
> I have boot-tested this patch on briQ and G3, and would like to check it
> in soon.
The patch looks fine to me, although I have a few small comments, see
what I write below. This evening I am going to test the patch to see
if it works for me.
> I also have my sights on include/grub/powerpc/ieee1275/biosdisk.h. Any
> suggestions on how to handle using util/i386/pc/biosdisk.c on PPC for
> grub-emu?
There was a discussion about this before, please read it for details I
might have forgotten. But ATM the PC version works for the PPC as
well. There is no platform specific code there yet and I want to keep
things shared as long as it is possible. Doesn't it work for you or
are there any issues? The biosdisk code is the code, together with
the i386 specific code, I am the least familiar with.
> 2005-04-21 Hollis Blanchard <hollis@penguinppc.org>
> * disk/powerpc/ieee1275/ofdisk.c: Include grub/machine/ofdisk.h. Don't
> include grub/machine/init.h.
Two spaces are required here, please fix this in the other places in
the changelog entry/comments as well.
> * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_flags):
> Remove prototype.
> (grub_ieee1275_realmode): Likewise.
> (grub_ieee1275_flag): New enum.
Can you give the enums a prefix? For example
`GRUB_IEEE1275_NO_PARTITION_0' can be changed to
`GRUB_IEEE1275_FLAGS_NO_PARTITION_0'.
> * kern/powerpc/ieee1275/init.c: Don't include grub/machine/init.h.
> Include grub/machine/console.h. Include grub/machine/ofdisk.h.
> (abort): Correct whitespace.
Huh? What is this whitespace change? And there is no need to mention
it in the changelog in case it is required.
--
Marco
next prev parent reply other threads:[~2005-04-24 16:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-22 3:51 [patch] PPC cleanups Hollis Blanchard
2005-04-24 16:19 ` Marco Gerards [this message]
2005-04-24 17:23 ` Marco Gerards
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=87u0lwrvtn.fsf@student.han.nl \
--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.