grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub EFI signature should be little endian


From: bibo,mao
Subject: grub EFI signature should be little endian
Date: Wed, 06 Dec 2006 10:25:43 +0800
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]