From: alex <thi...@gm...> - 2021-10-20 15:31:32
|
These patches allow tboot to boot an OS kernel/VMM using Multiboot2 with a proper EFI Memory map. This is relevant to booting a non-Linux OS, such as Xen. Issues fixed: - The EFI-related code for marking reserved memory ranges did not create a new range if the requested range was outside all existing ranges. (This was different behavior than the related code for handling the E820 memory map) - Although tboot previously updated its internal copy of the EFI Memory Map, the EFI Memory map used for Multiboot2 booting of the OS kernel/VMM was the original, lacking tboot's updates to it. - There was no safeguard that prevented tboot's updated Multiboot2 content from overflowing the original area used for such. |