Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-09-17 Thread Ard Biesheuvel
re that the the active page tables cover the > entire loaded image, including its BSS space, the size of which is > described in the image's setup header. > > Given that the EFI spec mandates execution in long mode for x86_64, and > stipulates that all system memory is mapped 1

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-09-14 Thread Ard Biesheuvel
: > > this > > > implies that paging is already enabled, and it is the > > responsibility of > > > the bootloader to ensure that the the active page tables cover the > > > entire loaded image, including its BSS space, the size of which i

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-09-14 Thread Daniel Kiper
ctive page tables cover the > > entire loaded image, including its BSS space, the size of which is > > described in the image's setup header. > > > > Given that the EFI spec mandates execution in long mode for x86_64, > and > > stipulates th

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-09-07 Thread Daniel Kiper
space, the size of which is > > > described in the image's setup header. > > > > > > Given that the EFI spec mandates execution in long mode for x86_64, and > > > stipulates that all system memory is mapped 1:1, the Linux/x86 > > > requirements for 64-

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-09-06 Thread Ard Biesheuvel
is already enabled, and it is the responsibility of > > the bootloader to ensure that the the active page tables cover the > > entire loaded image, including its BSS space, the size of which is > > described in the image's setup header. > > > > Given that the EFI spec ma

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-08-21 Thread Vladimir 'phcoder' Serbinenko
t; entire loaded image, including its BSS space, the size of which is > > described in the image's setup header. > > > > Given that the EFI spec mandates execution in long mode for x86_64, and > > stipulates that all system memory is mapped 1:1, the Linux/x86 > > re

Re: [PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-08-21 Thread Ard Biesheuvel
over the > entire loaded image, including its BSS space, the size of which is > described in the image's setup header. > > Given that the EFI spec mandates execution in long mode for x86_64, and > stipulates that all system memory is mapped 1:1, the Linux/x86 > requirements

[PATCH] loader/i386/linux: Prefer entry in long mode when booting via EFI

2023-08-03 Thread Ard Biesheuvel
x27;s setup header. Given that the EFI spec mandates execution in long mode for x86_64, and stipulates that all system memory is mapped 1:1, the Linux/x86 requirements for 64-bit entry can be met trivially when booting on x86_64 via EFI. So enter via the 64-bit entrypoint in this case. This inv

long mode

2007-06-10 Thread Constantine Kousoulos
Hi, Does Grub2 set up long mode when loading an elf64 image or do we have to do it manually if we need such a thing? Thanks, Constantine ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel