]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: ResetSystem() should not hang
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 22 Aug 2020 06:29:53 +0000 (08:29 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 24 Aug 2020 14:37:53 +0000 (16:37 +0200)
commit1c01c0060034823ea89f0f3eeaeb40dfb8fc39df
tree992c723722e3c10414612bcc49dd5f1d580c9fdd
parentcf0ce19976331ce121b1a05ad1eb9422e3748c0e
efi_loader: ResetSystem() should not hang

If ResetSystem() is not implemented at runtime, it should return instead
of hanging in an endless loop. This allows the operating system to reset
the system by other means as Linux does. It also matches what EDK II
suggests in comments for functions ResetShutdown() and ResetWarm() in
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c.

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