CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2022/03/14 13:09:32
Modified files: sys/arch/arm64/stand/efiboot: Makefile conf.c dt_blob.S fdt.c sys/arch/armv7/stand/efiboot: fdt.c sys/arch/riscv64/stand/efiboot: fdt.c Log message: The current FDT code we use in the bootloader is buggy and will write into memory beyond the actual FDT data structure when adding information to the device tree. This is especially problematic on ACPI systems where we add lots of information to the device tree based on ACPI tables. Fix the FDT code to never write beyond the end of the data structure and panic if we run out of free space. Raise the amount of free space frm 4K to 16K for the proto-FDT we use on ACPI systems. Bump the version number of the arm64 bootloader. ok visa@, patrick@