Displaying 1 result from an estimated 1 matches for "switch_char".
2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...''\0'';
+
+ sercon_puts(buf);
+ vga_puts(buf);
+
+ free_xenheap_pages(buf, order);
+}
+
+static struct keyhandler dump_console_ring_keyhandler = {
+ .u.fn = dump_console_ring_key,
+ .desc = "synchronously dump console ring buffer (dmesg)"
+};
+
/* CTRL-<switch_char> switches input direction between Xen and DOM0. */
#define switch_code (opt_conswitch[0]-''a''+1)
static int __read_mostly xen_rx = 1; /* FALSE => serial input passed to domain 0. */
@@ -661,6 +704,8 @@ void __init console_endboot(void)
if ( opt_conswitch[1] == '...