From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NRlyP-00033S-H3 for mharc-grub-devel@gnu.org; Mon, 04 Jan 2010 07:23:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRlyN-00033F-EM for grub-devel@gnu.org; Mon, 04 Jan 2010 07:23:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRlyI-00031F-F3 for grub-devel@gnu.org; Mon, 04 Jan 2010 07:23:46 -0500 Received: from [199.232.76.173] (port=34921 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRlyI-00031C-9Q for grub-devel@gnu.org; Mon, 04 Jan 2010 07:23:42 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:52305) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRlyH-0000Qd-9w for grub-devel@gnu.org; Mon, 04 Jan 2010 07:23:41 -0500 Received: by bwz7 with SMTP id 7so10298053bwz.26 for ; Mon, 04 Jan 2010 04:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Bde6cxFJH6irq4TmckP2ec20FA59UxTHdd3mnYUCfVY=; b=oO7j4OTLLs4fiHBpHzE0TqLa2SHCD18CLcvLP8oJmP+hSSdWFOHpSS868IdbaUsj/z 1ao8ITJgBASZjc9TmnYhdlce36LceulNhBiVbklj0Ef3AhQP6AW0EE/6kvhWK9MyLqYG FD+WXDhXFhCR6/gCrE7/VouEaKjaPYFE7Yz3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=b4xf3F7fahMI7mogWtg+cOGZp6YggWvDxN2XwnqRnAaLb6NO9xzdLgCHEkOJgfxS6B 5SrI/5r0NZxeo75YjP7wrczbJlv8clNI5fI/FvD9q95rhDUAv8h/yk37p7lGE+EI5q4E KmxljIg3FcBUCLzuvpohA8lUqMeIWRo/101B4= Received: by 10.204.9.131 with SMTP id l3mr510991bkl.38.1262607817956; Mon, 04 Jan 2010 04:23:37 -0800 (PST) Received: from debian.bg45.phnet ([81.62.107.61]) by mx.google.com with ESMTPS id 14sm5097651bwz.9.2010.01.04.04.23.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Jan 2010 04:23:36 -0800 (PST) Message-ID: <4B41DDBE.6020805@gmail.com> Date: Mon, 04 Jan 2010 13:23:26 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20100103222131.GA26625@thorin> In-Reply-To: <20100103222131.GA26625@thorin> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigC48B6EE46CE12B39E0F687EC" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: loader/efi/appleloader.c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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, 04 Jan 2010 12:23:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC48B6EE46CE12B39E0F687EC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Millan wrote: > Hi, > > I've removed loader/efi/appleloader.c, because it contained blobs of > binary data. If someone can provide a satisfactory explanation for > them, it can be added back. However, this command seems to be seldom > needed. > > Please keep in mind binary blobs or other kind of obfuscated data is no= t > acceptable in GRUB. If it's machine code, we need its source code. If= > it's a magic signature, we need a comment and/or macro explaining that,= > etc. > > =20 They are device identifiers in EFI format. E.g. This static grub_uint8_t devpath_5[] =3D { 0x01, 0x03, 0x18, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x40, 0xCB, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xBF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x04, 0x06, 0x14, 0x00, 0xEB, 0x85, 0x05, 0x2B, 0xB8, 0xD8, 0xA9, 0x49, 0x8B, 0x8C, 0xE2, 0x1B, 0x01, 0xAE, 0xF2, 0xB7, 0x7F, 0xFF, 0x04, 0x00, }; Means MMIO(EfiMemoryMappedIO, 0xffcb4000-0xffffbfff)/PIWGVolume(2B0585EB-D8B8-49A9-8B8CE21B01AEF2B7) I can add necessary prototypes and structures --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigC48B6EE46CE12B39E0F687EC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAktB3ccACgkQNak7dOguQgmkqAD/R0euo0uuHeYDdRieIMyOeSMN qibxQs4Umu3N+4/TAOQA/Arfix/IxEqTWrZ0TZD76xjhXuUkfsSzeGcSJE70k89q =+EHH -----END PGP SIGNATURE----- --------------enigC48B6EE46CE12B39E0F687EC--