Lines Matching defs:console
194 * 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)
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=com2";
210 console_dev = "console=vga";
317 * Our main concerns are the console device and serial port settings.
344 if (strncmp(optstr, "console", namlen) == 0) {
362 * Our main concerns are the console setting and serial port modes.
403 * hypervisor allows setting console parameters for both the
404 * console and debugger via the format:
406 * console=cons_dev,debug_dev
413 * Default the console device to "text" if it was "vga" or was
416 if (strncmp(optstr, "console", namlen) == 0) {
417 /* ignore the "console=hypervisor" option */
710 if (strcmp(token, "console") == 0) {
713 /* get console property value */
824 * passed as kernel start options such as the console device and serial
1169 * Don't emit a console setting if it's the same as what would be
1177 kernel = append_str(newstr, "console=", " ");
1184 newstr = append_str(kernel, "console=", ",");