All of lore.kernel.org
 help / color / mirror / Atom feed
* grub EFI signature should be little endian
@ 2006-12-06  2:25 bibo,mao
  0 siblings, 0 replies; only message in thread
From: bibo,mao @ 2006-12-06  2:25 UTC (permalink / raw)
  To: The development of GRUB 2

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
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-06  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06  2:25 grub EFI signature should be little endian bibo,mao

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.