u-boot/arch/sandbox/cpu
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
..
cpu.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
eth-raw-os.c sandbox: eth-raw: do not close the console input 2020-11-05 09:11:30 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00
os.c sandbox: implement reset 2020-11-05 09:11:30 -07:00
sdl.c sandbox: make SDL window resizable 2020-10-29 14:42:18 -06:00
spl.c dm: test: Drop of-platdata pytest 2020-10-29 14:42:18 -06:00
start.c sandbox: implement reset 2020-11-05 09:11:30 -07:00
state.c sandbox: implement reset 2020-11-05 09:11:30 -07:00
u-boot-spl.lds sandbox: u-boot.lds: Remove bogus __bss_start symbol 2020-08-22 08:54:51 -06:00
u-boot.lds sandbox: u-boot.lds: Remove bogus __bss_start symbol 2020-08-22 08:54:51 -06:00