sandbox: Allow Ctrl-C to work in sandbox
It is useful for Cltl-C to be handled by U-Boot as it is on other boards.
But it is also useful to be able to terminate U-Boot with Ctrl-C.
Add an option to enable signals while in raw mode, and make this the
default. Add an option to leave the terminal cooked, which is useful for
redirecting output.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/sandbox/cpu/os.c 7 additions, 6 deletionsarch/sandbox/cpu/os.c
- arch/sandbox/cpu/start.c 28 additions, 0 deletionsarch/sandbox/cpu/start.c
- arch/sandbox/include/asm/state.h 24 additions, 0 deletionsarch/sandbox/include/asm/state.h
- drivers/serial/sandbox.c 5 additions, 1 deletiondrivers/serial/sandbox.c
- include/os.h 5 additions, 1 deletioninclude/os.h
Loading
Please register or sign in to comment