sandbox: add concept of sandbox state
The state exists through the life of U-Boot. It can be adjusted by command line options and perhaps later through a config file. It is available to U-Boot through state_...() calls (within sandbox code). The primary purpose of this is to contain the "hardware" state. It should only be used by sandbox internal code. Signed-off-by:Simon Glass <sjg@chromium.org> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
Showing
- arch/sandbox/cpu/Makefile 1 addition, 1 deletionarch/sandbox/cpu/Makefile
- arch/sandbox/cpu/start.c 8 additions, 1 deletionarch/sandbox/cpu/start.c
- arch/sandbox/cpu/state.c 51 additions, 0 deletionsarch/sandbox/cpu/state.c
- arch/sandbox/include/asm/state.h 57 additions, 0 deletionsarch/sandbox/include/asm/state.h
Loading
Please register or sign in to comment