]> Git Repo - J-u-boot.git/commit
efi_loader: LoadImage: always allocate new pages
authorHeinrich Schuchardt <[email protected]>
Mon, 24 Dec 2018 08:19:07 +0000 (09:19 +0100)
committerHeinrich Schuchardt <[email protected]>
Sat, 16 Feb 2019 14:42:20 +0000 (15:42 +0100)
commit0e18f584de59a86aaf86bd328dbd16fbd0175b3d
treed369cbcbda945fc94d983d85c488fb0726e4f44b
parent16112f9f4832761e6af6f5ddb74c77a107992cb7
efi_loader: LoadImage: always allocate new pages

If we want to properly unload images in Exit() the memory should always be
allocated in the same way. As we allocate memory when reading from file we
should do the same when the original image is in memory.

A further patch will be needed to free the memory when Exit() is called.

Signed-off-by: Heinrich Schuchardt <[email protected]>
include/efi_loader.h
lib/efi_loader/efi_bootmgr.c
lib/efi_loader/efi_boottime.c
This page took 0.034767 seconds and 4 git commands to generate.