Lines Matching defs:console

61 static int console = CONS_SCREEN_TEXT;
76 /* Set if the console or mode are expressed in the boot line */
85 /* Obtain the hypervisor console type */
207 * Do a full reset to match console behavior.
557 /* Obtain the console type */
563 return (console);
567 * A structure to map console names to values.
622 console = CONS_INVALID;
628 cons_str = find_boot_prop("console");
653 console = consolep->value;
654 if (console == CONS_TTY)
664 * the console variable may be set to.
667 console = CONS_HYPERVISOR;
673 * If no console device specified, default to text.
676 if (console == CONS_INVALID)
677 console = CONS_SCREEN_TEXT;
694 * keyboard/display console devices.
698 * true console mode. Hence, we're going
699 * to ignore this xen "console" setting.
709 * port then default to using the hypervisor as the console
712 if (console == console_hypervisor_device) {
713 console = CONS_HYPERVISOR;
718 switch (console) {
749 * 2nd part of console initialization.
765 if (post_fastreboot && console == CONS_SCREEN_GRAPHICS)
766 console = CONS_SCREEN_TEXT;
768 if (console != CONS_USBSER && console != CONS_SCREEN_GRAPHICS) {
771 * If the console was set on the command line,
775 if ((!console_mode_set) && (console == CONS_TTY))
797 * if the hypervisor is using the currently selected console
798 * device then default to using the hypervisor as the console
807 if ((cons == CONS_INVALID) || (cons == console)) {
814 console = cons;
822 * USB serial and GRAPHICS console
844 * If we are asked to switch the console to the hypervisor, that
845 * really means to switch the console to whichever device the
851 console = new_console;
912 switch (console) {
935 console == CONS_HYPERVISOR) {
970 console == CONS_HYPERVISOR)
974 switch (console) {
990 console == CONS_HYPERVISOR)
994 switch (console) {