The file boot.S contains only i386 specific code. Rename the file to boot_i386.S following the pattern of having the mips specific code in the boot_mips.S file.
Signed-off-by: Hans Ulrich Niedermann <h...@n-dimensional.de> rename doc/{boot.S => boot_i386.S} (100%) diff --git a/doc/Makefile.am b/doc/Makefile.am index dc7816d9f..d9efe8116 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ info_TEXINFOS = multiboot.texi EXAMPLES = boot_mips.S kernel.c multiboot2.h -multiboot_TEXINFOS = boot.S.texi kernel.c.texi multiboot2.h.texi +multiboot_TEXINFOS = boot_i386.S.texi kernel.c.texi multiboot2.h.texi SRC2TEXI = src2texi noinst_SCRIPTS = $(SRC2TEXI) EXTRA_PROGRAMS = kernel diff --git a/doc/boot.S b/doc/boot_i386.S similarity index 100% rename from doc/boot.S rename to doc/boot_i386.S diff --git a/doc/multiboot.texi b/doc/multiboot.texi index df8a0d056..b89b12272 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -1553,9 +1553,9 @@ Multiboot2-compliant boot loader and for reference to how to implement a Multiboot2 kernel. The source files can be found under the directory @file{doc} in the Multiboot2 source distribution. -The kernel @file{kernel} consists of only three files: @file{boot.S}, +The kernel @file{kernel} consists of only three files: @file{boot_i386.S}, @file{kernel.c} and @file{multiboot2.h}. The assembly source -@file{boot.S} is written in GAS (@pxref{Top, , GNU assembler, as.info, +@file{boot_i386.S} is written in GAS (@pxref{Top, , GNU assembler, as.info, The GNU assembler}), and contains the Multiboot2 information structure to comply with the specification. When a Multiboot2-compliant boot loader loads and execute it, it initialize the stack pointer and @code{EFLAGS}, @@ -1571,7 +1571,7 @@ information structure. @menu * multiboot2.h:: -* boot.S:: +* boot_i386.S:: * kernel.c:: * Other Multiboot2 kernels:: @end menu @@ -1587,13 +1587,13 @@ This is the source code in the file @file{multiboot2.h}: @end example -@node boot.S -@subsection boot.S +@node boot_i386.S +@subsection boot_i386.S -In the file @file{boot.S}: +In the file @file{boot_i386.S}: @example -@include boot.S.texi +@include boot_i386.S.texi @end example -- 2.26.2 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel