]> git.sur5r.net Git - u-boot/commit
efi_loader: Clean up system table on exit
authorAlexander Graf <agraf@suse.de>
Tue, 17 May 2016 22:54:47 +0000 (00:54 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:39:56 +0000 (15:39 -0400)
commitae87440578369456b55e54125e101d27c332bc5a
treedcb30269c22f8c2ea3ad1e63b8b20fd04ba5a565
parent81974f4479d19c441c4a089aedd238c251626b3e
efi_loader: Clean up system table on exit

We put the system table into our runtime services data section so that
payloads may still access it after exit_boot_services. However, most fields
in it are quite useless once we're in that state, so let's just patch them
out.

With this patch we don't get spurious warnings when running EFI binaries
anymore.

Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c