staging: vt6655: MACvSaveContext use memcpy_fromio to read context.
[linux/fpc-iii.git] / drivers / s390 / char / ctrlchar.h
blob59c2d6e55e55386c71e86cca3a33f59103adfed8
1 /*
2 * Unified handling of special chars.
4 * Copyright IBM Corp. 2001
5 * Author(s): Fritz Elfert <felfert@millenux.com> <elfert@de.ibm.com>
7 */
9 #include <linux/tty.h>
10 #include <linux/sysrq.h>
11 #include <linux/workqueue.h>
13 extern unsigned int
14 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
17 #define CTRLCHAR_NONE (1 << 8)
18 #define CTRLCHAR_CTRL (2 << 8)
19 #define CTRLCHAR_SYSRQ (3 << 8)
21 #define CTRLCHAR_MASK (~0xffu)
24 #ifdef CONFIG_MAGIC_SYSRQ
25 struct sysrq_work {
26 int key;
27 struct work_struct work;
30 void schedule_sysrq_work(struct sysrq_work *sw);
31 #endif