-
- Downloads
sandbox: Allow reading/writing of RAM buffer
It is useful to be able to save and restore the RAM contents of sandbox U-Boot either for setting up tests, for later analysys, or for chaining together multiple tests which need to keep the same memory contents. Add a function to provide a memory file for U-Boot. This is read on start-up and written when shutting down. If the file does not exist on start-up, it will be created when shutting down. Signed-off-by:Simon Glass <sjg@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/sandbox/cpu/cpu.c 4 additions, 0 deletionsarch/sandbox/cpu/cpu.c
- arch/sandbox/cpu/os.c 39 additions, 0 deletionsarch/sandbox/cpu/os.c
- arch/sandbox/cpu/start.c 20 additions, 2 deletionsarch/sandbox/cpu/start.c
- arch/sandbox/cpu/state.c 22 additions, 0 deletionsarch/sandbox/cpu/state.c
- arch/sandbox/include/asm/global_data.h 1 addition, 1 deletionarch/sandbox/include/asm/global_data.h
- arch/sandbox/include/asm/state.h 12 additions, 0 deletionsarch/sandbox/include/asm/state.h
- common/board_f.c 4 additions, 3 deletionscommon/board_f.c
- include/os.h 16 additions, 0 deletionsinclude/os.h
Loading
Please register or sign in to comment