Changed the default 'reboot' routine from cpu_reset() to shutdown_nice().
If you want to disable the reboot feature, then re-define the keymap to not have a RBT call.
This commit is contained in:
parent
87965552ef
commit
7af948c9cc
@ -35,7 +35,7 @@
|
||||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
|
||||
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
|
||||
*
|
||||
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
@ -2278,7 +2278,7 @@ next_code:
|
||||
case NOP:
|
||||
break;
|
||||
case RBT:
|
||||
cpu_reset();
|
||||
shutdown_nice();
|
||||
break;
|
||||
case DBG:
|
||||
#if DDB > 0 /* try to switch to console 0 */
|
||||
|
@ -35,7 +35,7 @@
|
||||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
|
||||
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
|
||||
*
|
||||
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
@ -2278,7 +2278,7 @@ next_code:
|
||||
case NOP:
|
||||
break;
|
||||
case RBT:
|
||||
cpu_reset();
|
||||
shutdown_nice();
|
||||
break;
|
||||
case DBG:
|
||||
#if DDB > 0 /* try to switch to console 0 */
|
||||
|
@ -35,7 +35,7 @@
|
||||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
|
||||
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
|
||||
*
|
||||
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
@ -2278,7 +2278,7 @@ next_code:
|
||||
case NOP:
|
||||
break;
|
||||
case RBT:
|
||||
cpu_reset();
|
||||
shutdown_nice();
|
||||
break;
|
||||
case DBG:
|
||||
#if DDB > 0 /* try to switch to console 0 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user