svn commit: r228631 - in head/sys: dev/cfe dev/dcons dev/ofw
dev/sio dev/syscons dev/uart dev/usb/serial dev/xen/console gdb ia64/ia64
kern mips/adm5120 pc98/cbus powerpc/mambo sys
Andriy Gapon
avg at FreeBSD.org
Sat Dec 17 15:30:35 UTC 2011
on 17/12/2011 17:08 Andriy Gapon said the following:
> +void
> +cngrab()
> +{
> + struct cn_device *cnd;
> + struct consdev *cn;
> +
> + STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
> + cn = cnd->cnd_cn;
> + if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG))
> + cn->cn_ops->cn_grab(cn);
> + }
> +}
BTW, it seems that CN_FLAG_NODEBUG is not set for any of the current console
drivers. A candidate for removal?
--
Andriy Gapon
More information about the svn-src-all
mailing list