Heinrich Schuchardt 329dccc067 sandbox: implement reset
Up to now the sandbox would shutdown upon a cold reset request. Instead it
should be reset.

In our coding we use static variables like LIST_HEAD(efi_obj_list). A reset
can occur at any time, e.g. via an UEFI binary calling the reset service.
The only safe way to return to an initial state is to relaunch the U-Boot
binary.

The reset implementation uses execv() to relaunch U-Boot.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-11-05 09:11:30 -07:00
..
2020-04-16 14:36:28 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 17:33:31 -04:00
2020-04-30 17:16:12 +08:00
2016-10-19 09:01:53 +02:00
2018-09-23 21:55:30 +02:00
2020-10-29 14:42:18 -06:00
2020-02-11 10:58:41 -05:00
2020-11-05 09:11:30 -07:00