Re: [PATCH] Set max-page-size when linking the kernel to 0x1000.

2023-01-09 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le dim. 08 janv. 2023 22:26:26 -0500, a ecrit: > With the exception of linux, x86_64 ld default's max-page-size > is 2MB (default for i386 is 4K) and compiling gnumach with x86_64-pc-gnu-ld > will generate a kernel image where the boot section starts at the file offse

[PATCH] Set max-page-size when linking the kernel to 0x1000.

2023-01-08 Thread Flavio Cruz
With the exception of linux, x86_64 ld default's max-page-size is 2MB (default for i386 is 4K) and compiling gnumach with x86_64-pc-gnu-ld will generate a kernel image where the boot section starts at the file offset 2MB. This makes it unbootable on grub because the file is no longer multiboot. He