kern_cons.c (59588a546f55523d6fd37ab42eb08b719311d7d6) | kern_cons.c (9d6ae1e3c26a0c3334a268b587f17dccb9a503d7) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1988 University of Utah. 5 * Copyright (c) 1991 The Regents of the University of California. 6 * Copyright (c) 1999 Michael Smith 7 * Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 8 * --- 50 unchanged lines hidden (view full) --- 59#include <sys/msgbuf.h> 60#include <sys/namei.h> 61#include <sys/priv.h> 62#include <sys/proc.h> 63#include <sys/queue.h> 64#include <sys/reboot.h> 65#include <sys/sysctl.h> 66#include <sys/sbuf.h> | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1988 University of Utah. 5 * Copyright (c) 1991 The Regents of the University of California. 6 * Copyright (c) 1999 Michael Smith 7 * Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 8 * --- 50 unchanged lines hidden (view full) --- 59#include <sys/msgbuf.h> 60#include <sys/namei.h> 61#include <sys/priv.h> 62#include <sys/proc.h> 63#include <sys/queue.h> 64#include <sys/reboot.h> 65#include <sys/sysctl.h> 66#include <sys/sbuf.h> |
67#include <sys/tslog.h> |
|
67#include <sys/tty.h> 68#include <sys/uio.h> 69#include <sys/vnode.h> 70 71#include <ddb/ddb.h> 72 73#include <dev/kbd/kbdreg.h> 74 --- 54 unchanged lines hidden (view full) --- 129 130} 131 132void 133cninit(void) 134{ 135 struct consdev *best_cn, *cn, **list; 136 | 68#include <sys/tty.h> 69#include <sys/uio.h> 70#include <sys/vnode.h> 71 72#include <ddb/ddb.h> 73 74#include <dev/kbd/kbdreg.h> 75 --- 54 unchanged lines hidden (view full) --- 130 131} 132 133void 134cninit(void) 135{ 136 struct consdev *best_cn, *cn, **list; 137 |
138 TSENTER(); |
|
137 /* 138 * Check if we should mute the console (for security reasons perhaps) 139 * It can be changes dynamically using sysctl kern.consmute 140 * once we are up and going. 141 * 142 */ 143 cn_mute = ((boothowto & (RB_MUTE 144 |RB_SINGLE --- 45 unchanged lines hidden (view full) --- 190 cnselect(best_cn); 191 192#ifdef EARLY_PRINTF 193 /* 194 * Release early console. 195 */ 196 early_putc = NULL; 197#endif | 139 /* 140 * Check if we should mute the console (for security reasons perhaps) 141 * It can be changes dynamically using sysctl kern.consmute 142 * once we are up and going. 143 * 144 */ 145 cn_mute = ((boothowto & (RB_MUTE 146 |RB_SINGLE --- 45 unchanged lines hidden (view full) --- 192 cnselect(best_cn); 193 194#ifdef EARLY_PRINTF 195 /* 196 * Release early console. 197 */ 198 early_putc = NULL; 199#endif |
200 TSEXIT(); |
|
198} 199 200void 201cninit_finish(void) 202{ 203 console_pausing = false; 204} 205 --- 567 unchanged lines hidden --- | 201} 202 203void 204cninit_finish(void) 205{ 206 console_pausing = false; 207} 208 --- 567 unchanged lines hidden --- |