grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH, RFC, RFT] Mactel integration
@ 2011-11-28 13:25 Vladimir 'φ-coder/phcoder' Serbinenko
  2011-11-28 14:27 ` Mads Kiilerich
  2011-11-28 22:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-11-28 13:25 UTC (permalink / raw)
  To: The development of GRUB 2

[-- 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;
 


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-12-02  6:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 13:25 [PATCH, RFC, RFT] Mactel integration Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-28 14:27 ` 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

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).