From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GrmTw-0003WA-DL for mharc-grub-devel@gnu.org; Tue, 05 Dec 2006 21:26:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GrmTv-0003Vm-CG for grub-devel@gnu.org; Tue, 05 Dec 2006 21:25:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GrmTs-0003Ui-JT for grub-devel@gnu.org; Tue, 05 Dec 2006 21:25:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrmTs-0003Ud-EJ for grub-devel@gnu.org; Tue, 05 Dec 2006 21:25:56 -0500 Received: from [143.182.124.21] (helo=mga03.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GrmTs-0006z4-Br for grub-devel@gnu.org; Tue, 05 Dec 2006 21:25:56 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by mga03.intel.com with ESMTP; 05 Dec 2006 18:25:50 -0800 Received: from unknown (HELO [10.239.24.22]) ([10.239.24.22]) by fmsmga001.fm.intel.com with ESMTP; 05 Dec 2006 18:25:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,502,1157353200"; d="scan'208"; a="173589851:sNHT6065209997" Message-ID: <45762A27.5050600@intel.com> Date: Wed, 06 Dec 2006 10:25:43 +0800 From: "bibo,mao" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: grub EFI signature should be little endian X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 02:25:59 -0000 hi, EFI bootloader signature is "EFIL" string, x86 machine is little-endian. This patch changes grub efi booloader sigature as little-endian. thanks bibo,mao --- grub2.org/include/grub/i386/linux.h 2006-12-06 17:51:19.000000000 +0800 +++ grub2/include/grub/i386/linux.h 2006-12-06 17:52:50.000000000 +0800 @@ -46,7 +46,7 @@ #define GRUB_LINUX_CL_MAGIC 0xA33F #define GRUB_LINUX_EFI_SIGNATURE \ - ('E' << 24 | 'F' << 16 | 'I' << 8 | 'L') + ('L' << 24 | 'I' << 16 | 'F' << 8 | 'E') #ifndef ASM_FILE