grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: [PATCH, RFC, RFT] Mactel integration
Date: Mon, 28 Nov 2011 14:25:20 +0100	[thread overview]
Message-ID: <4ED38BC0.6090100@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

Hello all. Based on the information from 
http://mjg59.dreamwidth.org/7468.html I intend to add support for such 
install. It requires a small HFS+ volume mounted at /boot/mactel. I also 
simplify handling of EFI directories by adding explicit option to 
specify it and removing some "compatibility" kludges (they don't make 
anything compatible with anything since "old behaviour" was mostly not 
to install at all) which made the code in question difficult to 
maintain. Patch attached and branch "mactel" pushed. I've tested only as 
far as to see the appropriate directory structure in place. Can anybody 
test it on real mac?

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: mactel.diff --]
[-- Type: text/x-diff, Size: 621 bytes --]

=== modified file 'grub-core/fs/iso9660.c'
--- grub-core/fs/iso9660.c	2011-11-10 08:31:06 +0000
+++ grub-core/fs/iso9660.c	2011-11-26 21:20:33 +0000
@@ -533,10 +533,12 @@
   grub_off_t len;
   char *symlink = 0;
 
-  auto void add_part (const char *part, int len);
-
   /* Extend the symlink.  */
-  void add_part (const char *part, int len2)
+  auto inline void  __attribute__ ((always_inline)) add_part (const char *part,
+							      int len2);
+
+  auto inline void  __attribute__ ((always_inline)) add_part (const char *part,
+							      int len2)
     {
       int size = symlink ? grub_strlen (symlink) : 0;
 


             reply	other threads:[~2011-11-28 13:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 13:25 Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2011-11-28 14:27 ` [PATCH, RFC, RFT] Mactel integration Mads Kiilerich
2011-11-28 14:50   ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-28 22:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-28 22:29   ` Seth Goldberg
2011-11-29  6:34   ` Seth Goldberg
2011-11-29  7:25     ` Keshav P R
2011-11-29  8:05       ` Seth Goldberg
2011-11-29  9:00       ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-12-02  6:22         ` Keshav P R
2011-12-02  6:53           ` Vladimir 'φ-coder/phcoder' Serbinenko

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=4ED38BC0.6090100@gmail.com \
    --to=phcoder@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;
as well as URLs for NNTP newsgroup(s).