Module Name: src Committed By: jmcneill Date: Wed Jul 15 00:51:40 UTC 2020
Modified Files: src/sys/stand/efiboot: efiboot.h efidev.c efifile.c Log Message: Fixup OpenSimpleReadFile usage: - The "EFI_DEVICE_PATH **FilePath" parameter can change, so do not free the output. This was causing crashes on U-Boot when attempting to load boot.cfg, even if it didn't exist. - Allocate the SIMPLE_READ_FILE in advance and store a pointer to it in struct open_file. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/stand/efiboot/efiboot.h cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/efidev.c cvs rdiff -u -r1.4 -r1.5 src/sys/stand/efiboot/efifile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.