aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/keyhandler.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-02-11 21:08:06 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-02-11 21:08:06 +0000
commitc23d905c387ff80a7409d4f66cf91b02fa4297f0 (patch)
tree1015a9d16525fd8e0210bda78bbaa88f317812a6 /xen/include/xen/keyhandler.h
parent8eddd7f405d7120aaf284c222e119588275bed3f (diff)
downloadxen-c23d905c387ff80a7409d4f66cf91b02fa4297f0.tar.gz
xen-c23d905c387ff80a7409d4f66cf91b02fa4297f0.tar.bz2
xen-c23d905c387ff80a7409d4f66cf91b02fa4297f0.zip
keyhandler: global shared scratch space for temporary strings
Put one static definition in one place and we can make it as big as we think reasonable. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/keyhandler.h')
-rw-r--r--xen/include/xen/keyhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/keyhandler.h b/xen/include/xen/keyhandler.h
index 71e6dbe11c..1670d7d7f9 100644
--- a/xen/include/xen/keyhandler.h
+++ b/xen/include/xen/keyhandler.h
@@ -52,4 +52,7 @@ extern void register_keyhandler(unsigned char key, struct keyhandler *handler);
/* Inject a keypress into the key-handling subsystem. */
extern void handle_keypress(unsigned char key, struct cpu_user_regs *regs);
+/* Scratch space is available for use of any keyhandler. */
+extern char keyhandler_scratch[100];
+
#endif /* __XEN_KEYHANDLER_H__ */