From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub2 on Mac OS X
Date: Wed, 23 Mar 2005 21:45:04 +0100 [thread overview]
Message-ID: <200503232145.04398.okuji@enbug.org> (raw)
In-Reply-To: <74cfc9a471d7669b38b24a5a89f35538@free.fr>
On Wednesday 23 March 2005 02:20 pm, antoine terrienne wrote:
> memalign doesn't exist on Mac OS. malloc always returns 16 bytes
> aligned memory. This macro is only defined if there is no HAVE_MEMALIGN
> defined by the configure script. If 16 bytes alignment not enouth there
> is valloc that allocates on a page bondary but there is no such
> function as memalign.
Is it hard to implement memalign using valloc? I don't know how it works on
MacOSX.
> You mean include it in Grub ?
Sure.
> Where such code should be placed in the source three ? normal/ util/
> ... ?
Create a directory "lib" at the top source directory and link it if your
system library does not have it.
> getopt is already used by grub-mkimage and available everywere so why
> not just using it with grub-emu ? Are there somme specific reasons ?
Technically speaking, argp is superior. So, I prefer keeping it to throwing it
away.
> I have some others questions about the powerpc part of Grub2. It seems
> that many parts are just a copy of the i386. For exemple in the
> conf/powerpc-ieee1275.rmk. grub_emu_sources refer to
> commands/i386/pc/{reboot.c,halt.c,suspend.c} but there exist somme
> commands/ieee1275/{reboot.c,halt.c,suspend.c}. Is this normal ?
Yes. There are good reasons. Take a look at the archive of this list.
Okuji
next prev parent reply other threads:[~2005-03-23 21:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 13:20 Grub2 on Mac OS X antoine terrienne
2005-03-23 20:45 ` Yoshinori K. Okuji [this message]
2005-03-23 22:28 ` Antoine Terrienne
2005-03-26 0:22 ` Yoshinori K. Okuji
2005-03-26 12:09 ` Antoine Terrienne
2005-03-26 13:52 ` Marco Gerards
2005-03-26 14:55 ` Antoine Terrienne
2005-03-26 15:20 ` Marco Gerards
2005-03-26 19:49 ` Antoine Terrienne
2005-03-26 20:09 ` Marco Gerards
2005-03-26 13:40 ` Marco Gerards
-- strict thread matches above, loose matches on Subject: below --
2005-03-21 18:55 Antoine Terrienne
2005-03-22 20:20 ` Yoshinori K. Okuji
2005-03-23 20:42 ` Brian Sammon
2005-03-23 21:09 ` Yoshinori K. Okuji
2005-03-26 13:37 ` 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=200503232145.04398.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.