Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\early_serial_console.c Create Date:2022-07-28 07:26:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parse_console_uart8250

Proto:static void parse_console_uart8250(void)

Type:void

Parameter:Nothing

120  baud = DEFAULT_BAUD
121  port = 0
127  If cmdline_find_option("console", optstr, size of optstr ) <= 0 Then Return
130  options = optstr
132  If Not strncmp(options, "uart8250,io,", 12) Then port = simple_strtoull - convert a string to an unsigned long long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use
134  Else if Not strncmp(options, "uart,io,", 8) Then port = simple_strtoull - convert a string to an unsigned long long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use
136  Else Return
139  If options && options[0] == ',' Then baud = simple_strtoull - convert a string to an unsigned long long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use
141  Else baud = probe_baud(port)
144  If port Then early_serial_init(port, baud)
Caller
NameDescribe
console_init