From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MOpGx-0006Nm-TG for mharc-grub-devel@gnu.org; Thu, 09 Jul 2009 04:46:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOpGv-0006M8-5r for grub-devel@gnu.org; Thu, 09 Jul 2009 04:46:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOpGp-0006JE-Us for grub-devel@gnu.org; Thu, 09 Jul 2009 04:46:28 -0400 Received: from [199.232.76.173] (port=57743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOpGp-0006Iw-My for grub-devel@gnu.org; Thu, 09 Jul 2009 04:46:23 -0400 Received: from smtpout01s1.x-echo.com ([193.252.149.37]:46137) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOpGp-0001ka-3a for grub-devel@gnu.org; Thu, 09 Jul 2009 04:46:23 -0400 Message-ID: <4A55AE37.1060605@zetam.org> Date: Thu, 09 Jul 2009 10:45:43 +0200 From: Yves Blusseau User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: multipart/mixed; boundary="------------040007030501040302010105" X-AV-Checked: ClamAV using ClamSMTP X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [PATCH] unused constants in i386/boot.h 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: Thu, 09 Jul 2009 08:46:29 -0000 This is a multi-part message in MIME format. --------------040007030501040302010105 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Here's the patch to remove unused constants.
The real constants used are GRUB_BOOT_MACHINE_KERNEL_ADDR and GRUB_BOOT_MACHINE_KERNEL_SEG.

Best Regards,
Yves Blusseau

--------------040007030501040302010105 Content-Type: text/plain; name="unused_constants.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="unused_constants.diff" diff --git a/ChangeLog b/ChangeLog index 3fe273f..f8b098a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-09 Yves BLUSSEAU + + * include/grub/i386/pc/boot.h: Remove unused contants + GRUB_BOOT_MACHINE_KERNEL_ADDRESS and GRUB_BOOT_MACHINE_KERNEL_SEGMENT + 2009-07-07 Pavel Roskin * commands/search.c (search_file): Merge into ... diff --git a/include/grub/i386/pc/boot.h b/include/grub/i386/pc/boot.h index f35cb3a..3a5606a 100644 --- a/include/grub/i386/pc/boot.h +++ b/include/grub/i386/pc/boot.h @@ -34,15 +34,9 @@ /* The offset of BOOT_DRIVE. */ #define GRUB_BOOT_MACHINE_BOOT_DRIVE 0x4c -/* The offset of KERNEL_ADDRESS. */ -#define GRUB_BOOT_MACHINE_KERNEL_ADDRESS 0x40 - /* The offset of KERNEL_SECTOR. */ #define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44 -/* The offset of KERNEL_SEGMENT. */ -#define GRUB_BOOT_MACHINE_KERNEL_SEGMENT 0x42 - /* The offset of BOOT_DRIVE_CHECK. */ #define GRUB_BOOT_MACHINE_DRIVE_CHECK 0x4e --------------040007030501040302010105--