Searched defs:console (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dconsole.c34 int console; variable
36 static void uboot_cons_probe(struct console *cp);
42 struct console uboot_console = {
44 "U-Boot console",
54 uboot_cons_probe(struct console *cp)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyslot.c60 int console = FALSE; local
76 if (strcmp(p, "console") == 0)
77 console = TRUE;
87 if (!console ||
H A Dfmtmsg.c191 * CONNAME Filesystem entry name for the system console
194 #define CONNAME "/dev/console"
1062 * will write a message to the system console.
1092 FILE *console; /* Ptr to "console" stream */ local
1132 /* Prepare the message for the console if requested */
1151 /* Write the message to the console if requested */
1153 if ((console = fopen(CONNAME, "wF")) != NULL) {
1154 clearerr(console);
1155 (void) fputs(message2, console);
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Duserboot_cons.c34 int console; variable
36 static struct console *userboot_comconsp;
38 static void userboot_cons_probe(struct console *cp);
40 static void userboot_comcons_probe(struct console *cp);
46 struct console userboot_console = {
59 * console to comconsole without resulting in an error
61 struct console userboot_comconsole = {
73 userboot_cons_probe(struct console *cp)
87 userboot_comcons_probe(struct console *cp)
91 * Save the console pointe
[all...]
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsdvcc.c30 * configuratioa. It manages console groups, creates the listen thread,
31 * dynamically adds and removes virtual console within a group.
54 /* signal all clients that console has been deleted */
65 /* free console structure */
90 * all clients connected to a console must disconnect before
91 * removing a console.
109 /* wait for all clients disconnect from the console */
113 /* signal client to disconnect the console */
125 /* reduce console count in the group */
136 /* search for a group whose console i
602 vcc_console_t console; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c73 char *console; local
84 console = getenv("console");
85 if (console != NULL) {
86 if (strcmp(console, "comconsole") == 0)
88 if (strcmp(console, "nullconsole") == 0)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstage2.c243 const char *console = NULL; local
339 /* The selected OS console is special; if it's in use, tell the user. */
340 console = get_variable("os_console");
341 if (console != NULL) {
342 printf("\n\n Selected OS console device is '%s'."
343 "\n To change OS console device, enter command-line mode"
346 console);
750 current_term = term_table; /* assumption: console is first */
790 /* if our terminal fails to initialize, fall back to console since
793 current_term = term_table; /* we know that console i
[all...]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c61 static int console = CONS_SCREEN_TEXT; variable
69 /* Obtain the hypervisor console type */
87 /* Set if the console or mode are expressed in the boot line */
203 * Do a full reset to match console behavior.
492 /* Obtain the console type */
498 return (console);
502 * A structure to map console names to values.
537 console = CONS_INVALID;
543 cons_str = find_boot_line_prop("console");
568 console
[all...]
/illumos-gate/usr/src/uts/sun/sys/
H A Dttymux.h131 * This structure maintains the state of the console.
133 typedef struct console { struct
134 dev_t sm_dev; /* the minor node of a console */
137 boolean_t sm_obp_con; /* is it an OBP console */
175 sm_uqi_t *sm_lconsole; /* the current logical console */
176 sm_mux_state_t *sm_ms; /* state associated with a console */
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.h241 int console; member in struct:command
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c194 * Convert a metal "console" device name to an equivalent one suitable for
197 * Default to "vga" if we can't parse the console device.
200 console_metal_to_hyper(char *console) argument
202 if ((*console == '\'') || (*console == '"'))
203 console++;
205 if (strncmp(console, "ttya", 4) == 0)
206 console_dev = "console=com1";
207 else if (strncmp(console, "ttyb", 4) == 0)
208 console_dev = "console
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbootstrap.h95 * Modular console support.
97 struct console struct
102 #define C_PRESENTIN (1<<0) /* console can provide input */
103 #define C_PRESENTOUT (1<<1) /* console can provide output */
104 #define C_ACTIVEIN (1<<2) /* user wants input from console */
105 #define C_ACTIVEOUT (1<<3) /* user wants output to console */
107 void (*c_probe)(struct console *); /* set c_flags to match hardware */
108 int (*c_init)(struct console *, int); /* reinit XXX may need more args */
109 void (*c_out)(struct console *, int); /* emit c */
110 int (*c_in)(struct console *); /* wai
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c166 char *console; local
201 console = strtok_r(line, field_delims, &last);
202 if (console == NULL)
205 if ((n = resolvepath(console, tmp, PATH_MAX)) == -1)
389 * Check whether the user has logged onto "/dev/console" or "/dev/vt/#".
409 "console", strlen("console")) == 0 || strncmp(utx->ut_line,
600 /* set the login console device permission */
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvcc.c176 { MDET_PROP_STR, "name", "virtual-console-concentrator" },
317 * An application other than vntsd can access a console port as long
600 * only data is expected from console - otherwise
729 /* add a vcc console port */
1171 cmn_err(CE_CONT, "vcc_open: virtual-console-concentrator@%d:%d "
1277 D1("vcc_close: closing virtual-console-concentrator@%d:%d\n",
1319 * VCC_NUM_PORTS. However, when vntsd requests for the console table, console
1361 /* construct console buffer */
1406 /* fill vntsd buffer with no console */
1651 vcc_console_t console; local
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c398 i40e_dev_err(i40e_t *i40e, int level, boolean_t console, const char *fmt, argument
406 cmn_err(level, (console) ? "%s: %s" : "!%s: %s",
409 dev_err(i40e->i40e_dip, level, (console) ? "%s" : "!%s",
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c45 * - "console login" is the equivalent to accessing the tip line for a
49 * console to be available anytime the zone is installed, regardless of
277 zperror(gettext("Could not connect to zone console"));
315 zperror(gettext("Could not connect to zone console"));
1729 int arg, console = 0; local
1760 console = 1;
1801 if (console != 0) {
1805 "-l may not be specified for console login"));
1811 "-n may not be specified for console login"));
1817 "-S may not be specified for console logi
[all...]
/illumos-gate/usr/src/uts/common/xen/public/
H A Dxen.h152 #define VIRQ_CONSOLE 2 /* G. (DOM0) Bytes received on emergency console. */
157 #define VIRQ_CON_RING 8 /* G. (DOM0) Bytes received on console */
488 * device or the emergency console.
559 xen_pfn_t mfn; /* MACHINE page number of console page. */
560 uint32_t evtchn; /* Event channel for console page. */
566 } console; member in struct:start_info
580 /* New console union for dom0 introduced in 0x00030203. */
582 #define console_mfn console.domU.mfn
583 #define console_evtchn console.domU.evtchn
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c3817 * Description: Determine console device.
3819 * Success - pointer to console setting.
3828 char *console = NULL; local
3837 "console", &console) != -1) {
3839 return (console);
3842 if (console == NULL) {
3844 "output-device", &console) != -1) {
3846 if (strncmp(console, "screen", strlen("screen")) == 0)
3847 console
3892 char *console = NULL; local
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c470 static char *CONSOLE = "/dev/console"; /* Real system console */
485 static char *SYSCON = "/dev/syscon"; /* Virtual System console */
572 static void console(boolean_t, char *, ...);
696 console(B_FALSE,
699 console(B_FALSE,
774 * Also report the change on the system console.
874 console(B_TRUE, "poll() error: %s\n",
940 console(B_FALSE, "Requesting maintenance mode\n"
970 console(B_TRU
2990 console(boolean_t prefix, char *format, ...) function
[all...]
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c234 * emitted to the console. To avoid alarming customers for no good
1364 char *console; local
1367 if ((len = BOP_GETPROPLEN(ops, "console")) == -1)
1370 console = kobj_zalloc(len, KM_WAIT|KM_TMP);
1371 (void) BOP_GETPROP(ops, "console", console);
1372 ret = (strcmp(console, "usb-serial") == 0);
1373 kobj_free(console, len);
1387 "(unsupported on usb serial console)\n");
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c2922 * owner and group of the console user.
2924 * stat() the console device newdev->ldev_console
2930 * console owner will be root and its gid can be found in
7375 char *cp, *console, *dlist, *dev; local
7433 if ((console = strtok_r(line, LDEV_DELIMS, &lasts)) == NULL)
7462 ldev->ldev_console = s_strdup(console);

Completed in 157 milliseconds