aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-03-28 09:28:11 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2015-07-06 13:57:46 +0100
commit29cf8a9b1453bc0037e38b511407f8fe1bd8373f (patch)
treed5b698e56678941196b934941ac4ad6dd8b30438 /tools
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
serial: Emulate break using control characters
Currently the magic SysRq functions are accessed by sending a break. Unfortunately some networked serial proxies makes is difficult to send a break meaning SysRq functions cannot be reached. We avoid this problem by allowing the (fairly unlikely) sequence of ^B^R^K characters to emulate a real break. This approach is very nearly as robust as normal sysrq/break handling because all trigger recognition happens during interrupt handling however to emulate a break we must enter the ISR four times (instead of twice) and manage an extra byte of state. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions