]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Allow Ctrl-C to work in sandbox
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2014 20:26:22 +0000 (13:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:49 +0000 (20:05 -0600)
commitffb87905cb3883c84598b87ca05384c17d59dee1
tree34a10775e3d35c5ebf5432222443094025cb14bb
parent20f86a0aeaad5dfa0b4f50bf5d04dd7bf1f7c3e9
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>
arch/sandbox/cpu/os.c
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
drivers/serial/sandbox.c
include/os.h