On Mon, Aug 02, 2021 at 01:18:21PM +0000, Mislav Stublić wrote:
> Hi Daniel,
>
> Sorry, sent an unfinished mail by mistake.

No worries.

> Regarding reusing existing code, there is grub-core/loader/efi/fdt.c
> which is mentioned in git log as not really platform specific (although
> it was part of arm64, and does follow EBBR to a degree), but i'm not
> sure if i can really use this for x86. grub-core/loader/efi/ftd.c uses
> grub_efi_allocate_pages_real which, if i understand correctly, calls
> UEFI to allocate memory in EfiACPIReclaimMemory. Not sure if this would
> work for x86 (regarding ACPI and its handling in Linux) and also it
> doesn't use grub_relocator_alloc_chunk_align as you mention.

Feel free to change anything what you need. Of course your changes
cannot break existing code. If you think a design document/email/...
will be better posting before the patches feel free to do that too.

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to