Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 1999 20:30:59 -0800 (PST)
From:      Kazutaka YOKOTA <yokota@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/syscons syscons.c
Message-ID:  <199912100431.UAA03034@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
yokota      1999/12/09 20:30:59 PST

  Modified files:
    sys/dev/syscons      syscons.c 
  Log:
  Add "panic key" function to syscons.  When this key is defined in a
  keymap and pressed, the system panic will be forced.
  
  This feature must be specifically enabled by a new sysctl variable:
  machdep.enable_panic_key.  Its default value is 0.  The panic key
  won't do anything unless this variable is set to non-zero.
  
  To use the panic key, add a keyword 'panic' to a key in your
  keymap file.  The following example assigns the panic function
  to SysReq (Alt-PrintScreen) key (keycode 84).
  
    083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
    084   panic  nop    nop    nop    panic  nop    nop    nop     O
    085   nop    nop    nop    nop    nop    nop    nop    nop     O
  
  PR: kern/13721
  
  Revision  Changes    Path
  1.329     +11 -1     src/sys/dev/syscons/syscons.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912100431.UAA03034>