efi_loader: Add boot time services
authorAlexander Graf <agraf@suse.de>
Fri, 4 Mar 2016 00:09:59 +0000 (01:09 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 22:03:06 +0000 (18:03 -0400)
commitbee91169f5b258bd8e61c3b902c07bf0e9b18c01
tree1cd46cb1adfd2ff757c2d83e647b5beb350ac39b
parentcb149c66342ce07b9fa45cb8d4d98081aab1afbb
efi_loader: Add boot time services

When an EFI application runs, it has access to a few descriptor and callback
tables to instruct the EFI compliant firmware to do things for it. The bulk
of those interfaces are "boot time services". They handle all object management,
and memory allocation.

This patch adds support for the boot time services and also exposes a system
table, which is the point of entry descriptor table for EFI payloads.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
include/efi_loader.h
lib/efi_loader/efi_boottime.c [new file with mode: 0644]