expand descriptions of x86 panic_on_nmi and kdb_on_nmi sysctls

The descriptions were as terse as the variable names and they did not
explain additional conditions for knobs.

MFC after:	1 week
This commit is contained in:
Andriy Gapon 2018-06-07 14:23:31 +00:00
parent 7b2c7b92be
commit 413ed27cd7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334785

View File

@ -723,7 +723,7 @@ SYSINIT(cpu_idle_tun, SI_SUB_CPU, SI_ORDER_MIDDLE, cpu_idle_tun, NULL);
static int panic_on_nmi = 1;
SYSCTL_INT(_machdep, OID_AUTO, panic_on_nmi, CTLFLAG_RWTUN,
&panic_on_nmi, 0,
"Panic on NMI");
"Panic on NMI raised by hardware failure");
int nmi_is_broadcast = 1;
SYSCTL_INT(_machdep, OID_AUTO, nmi_is_broadcast, CTLFLAG_RWTUN,
&nmi_is_broadcast, 0,
@ -732,7 +732,7 @@ SYSCTL_INT(_machdep, OID_AUTO, nmi_is_broadcast, CTLFLAG_RWTUN,
int kdb_on_nmi = 1;
SYSCTL_INT(_machdep, OID_AUTO, kdb_on_nmi, CTLFLAG_RWTUN,
&kdb_on_nmi, 0,
"Go to KDB on NMI");
"Go to KDB on NMI with unknown source");
#endif
#ifdef DEV_ISA