search for: switch_cod

Displaying 1 result from an estimated 1 matches for "switch_cod".

Did you mean: switch_code
2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...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] == ''x'' ) xen_rx = !xen_rx; + register_keyhandler('...