grub-devel
[Top][All Lists]
Advanced

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

[MULTIBOOT2 SPEC PATCH v4 09/27] multiboot2: Use the constants by their


From: Hans Ulrich Niedermann
Subject: [MULTIBOOT2 SPEC PATCH v4 09/27] multiboot2: Use the constants by their proper names
Date: Fri, 15 May 2020 05:43:32 +0200

In the i386 boot.S file, use the constants with the names
multiboot2.h actually defines them as, and which boot_mips.S
has been using already.

Signed-off-by: Hans Ulrich Niedermann <address@hidden>

diff --git a/doc/boot.S b/doc/boot.S
index 8f6f66fcc..9ab016612 100644
--- a/doc/boot.S
+++ b/doc/boot.S
@@ -50,11 +50,11 @@ multiboot_header:
        /* magic */
        .long   MULTIBOOT2_HEADER_MAGIC
        /* ISA: i386 */
-       .long   GRUB_MULTIBOOT_ARCHITECTURE_I386
+       .long   MULTIBOOT_ARCHITECTURE_I386
        /* Header length.  */
        .long   multiboot_header_end - multiboot_header
        /* checksum */
-       .long   -(MULTIBOOT2_HEADER_MAGIC + GRUB_MULTIBOOT_ARCHITECTURE_I386 + 
(multiboot_header_end - multiboot_header))
+       .long   -(MULTIBOOT2_HEADER_MAGIC + MULTIBOOT_ARCHITECTURE_I386 + 
(multiboot_header_end - multiboot_header))
 #ifndef __ELF__
 address_tag_start:     
        .short MULTIBOOT_HEADER_TAG_ADDRESS
-- 
2.26.2




reply via email to

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