From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RV1DE-0001wS-23 for mharc-grub-devel@gnu.org; Mon, 28 Nov 2011 08:25:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV1D8-0001uE-BG for grub-devel@gnu.org; Mon, 28 Nov 2011 08:25:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV1D2-0006vC-FV for grub-devel@gnu.org; Mon, 28 Nov 2011 08:25:30 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:38553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV1D2-0006v6-9P for grub-devel@gnu.org; Mon, 28 Nov 2011 08:25:24 -0500 Received: by wwf25 with SMTP id 25so1887014wwf.30 for ; Mon, 28 Nov 2011 05:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=IZbHkdgE+0ntvIz6aPAgC41db9Dtt6/kn5Goib0sqXk=; b=Rnrtb+ztJax0NIjhWiqa+UN2SCLp6J6wTD4oRV0qum0mR64wLMUUswS2vfVyu7iNvR lCxOYNhi+ftXjT6XwSWfrWa9T90Y4j+piTtnMf63ARIkrWoVVcMbko4PCvnLL6XKpqWP N6KyDCEhXyJYcShTLEBS1h0ob5lf6vvySsRS4= Received: by 10.180.105.3 with SMTP id gi3mr5519463wib.36.1322486723338; Mon, 28 Nov 2011 05:25:23 -0800 (PST) Received: from debian.x201.phnet (cx-public-docking-1-004.ethz.ch. [129.132.149.4]) by mx.google.com with ESMTPS id et20sm39074542wbb.15.2011.11.28.05.25.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Nov 2011 05:25:21 -0800 (PST) Message-ID: <4ED38BC0.6090100@gmail.com> Date: Mon, 28 Nov 2011 14:25:20 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: The development of GRUB 2 Subject: [PATCH, RFC, RFT] Mactel integration Content-Type: multipart/mixed; boundary="------------070807040002030201020503" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 13:25:34 -0000 This is a multi-part message in MIME format. --------------070807040002030201020503 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------070807040002030201020503 Content-Type: text/x-diff; name="mactel.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mactel.diff" === 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; --------------070807040002030201020503--