Add a missing call to dev_cleanup from the arm64 loader.efi.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-02-20 17:29:04 +00:00
parent 2fe1339ea2
commit f4cd39e3b2

View file

@ -117,6 +117,8 @@ elf64_exec(struct preloaded_file *fp)
if (err != 0)
return (err);
dev_cleanup();
/* Clean D-cache under kernel area and invalidate whole I-cache */
clean_addr = (vm_offset_t)efi_translate(fp->f_addr);
clean_size = (vm_offset_t)efi_translate(kernendp) - clean_addr;