Lines Matching +full:global +full:- +full:halt
1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
88 #define DCONS_FORCE_CONSOLE 0 /* Mostly for FreeBSD-4/DragonFly */
95 /* global data */
158 if ((dc->flags & DC_GDB) != 0 && gdb_cur == &dcons_gdb_dbgport)
159 kdb_alt_break_gdb(c, &dc->brk_state);
162 kdb_alt_break(c, &dc->brk_state);
234 tp = dc->tty;
237 while ((c = dcons_os_checkc_nopoll(dc)) != -1) {
254 sprintf(cp->cn_name, "dcons");
256 cp->cn_pri = CN_REMOTE;
258 cp->cn_pri = CN_NORMAL;
266 cp->cn_arg = (void *)&sc[DCONS_CON]; /* share port0 with unit0 */
287 struct dcons_softc *dc = (struct dcons_softc *)cp->cn_arg;
294 struct dcons_softc *dc = (struct dcons_softc *)cp->cn_arg;
308 drv_init = -1;
357 * bssbuf could be non-continuous.
362 return (-1);
383 dc->flags = flags;
384 dc->tty = tp;
410 tp = dc->tty;
428 if (ret != -1)
443 dg.buf->magic = 0;
453 #if 0 /* Keep connection after halt */
454 dg.buf->magic = 0;
472 while ((c = dcons_os_checkc(dc)) == -1);
483 return (-1);