Lines Matching refs:console

61 static int console = CONS_SCREEN_TEXT;
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 = consolep->value;
569 if (console == CONS_TTY)
579 * the console variable may be set to.
582 console = CONS_HYPERVISOR;
588 * If no console device specified, default to text.
591 if (console == CONS_INVALID)
592 console = CONS_SCREEN_TEXT;
609 * keyboard/display console devices.
613 * true console mode. Hence, we're going
614 * to ignore this xen "console" setting.
624 * port then default to using the hypervisor as the console
627 if (console == console_hypervisor_device) {
628 console = CONS_HYPERVISOR;
633 switch (console) {
665 * 2nd part of console initialization.
681 if (post_fastreboot && console == CONS_SCREEN_GRAPHICS)
682 console = CONS_SCREEN_TEXT;
684 if (console != CONS_USBSER && console != CONS_SCREEN_GRAPHICS) {
687 * If the console was set on the command line,
691 if ((!console_mode_set) && (console == CONS_TTY))
713 * if the hypervisor is using the currently selected console
714 * device then default to using the hypervisor as the console
723 if ((cons == CONS_INVALID) || (cons == console)) {
730 console = cons;
738 * USB serial and GRAPHICS console
760 * If we are asked to switch the console to the hypervisor, that
761 * really means to switch the console to whichever device the
767 console = new_console;
828 switch (console) {
851 console == CONS_HYPERVISOR) {
886 console == CONS_HYPERVISOR)
890 switch (console) {
906 console == CONS_HYPERVISOR)
910 switch (console) {