diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2014-03-28 09:28:11 +0000 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2015-01-05 09:43:38 +0000 |
commit | 1b213f2e3b4bf0be4b3db2f77ba2ca3649142d18 (patch) | |
tree | 93e3f32aff2357b39688355179eeb8912d6dea09 /drivers/crypto/atmel-tdes.c | |
parent | b7392d2247cfe6771f95d256374f1a8e6a6f48d6 (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 'drivers/crypto/atmel-tdes.c')
0 files changed, 0 insertions, 0 deletions