All of lore.kernel.org
 help / color / mirror / Atom feed
From: "bibo,mao" <bibo.mao@intel.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: grub EFI signature should be little endian
Date: Wed, 06 Dec 2006 10:25:43 +0800	[thread overview]
Message-ID: <45762A27.5050600@intel.com> (raw)

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
 



                 reply	other threads:[~2006-12-06  2:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45762A27.5050600@intel.com \
    --to=bibo.mao@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.