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
:
> > 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
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
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-
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
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
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
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
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