efi_loader: implement EFI_RESET_SHUTDOWN at boot time
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Oct 2018 05:44:53 +0000 (07:44 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:36 +0000 (21:59 +0100)
commite706ed7f5b291282e8747e65c2f2d0e4f8ef5e03
tree61a99557f5903e6d13b5be2ea54031bed7a156c2
parent1c32bb101026eb8f693544824f015a6c3cfefe60
efi_loader: implement EFI_RESET_SHUTDOWN at boot time

Allow an EFI application to shut down the system.

If EFI_RESET_SHUTDOWN is issued call do_poweroff().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c