函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-27 15:15:28
Last Modify:2022-05-23 13:07:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:保存未改变的comand_line到字符数组static_command_line中

函数原型:static void __init setup_command_line(char *command_line)

返回类型:void

参数:

类型参数名称
char *command_line
377  len等于strlen - Find the length of a string*@s: The string to be sized加1
379  原始命令行等于memblock_alloc(len, SMP_CACHE_BYTES)
380  如果非原始命令行panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
383  Command line for per-initcall parameter parsing 等于memblock_alloc(len, SMP_CACHE_BYTES)
384  如果非Command line for per-initcall parameter parsing panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
387  参数解析命令行等于memblock_alloc(len, SMP_CACHE_BYTES)
388  如果非参数解析命令行panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
391  strcpy(原始命令行, Untouched command line saved by arch-specific code. )
392  strcpy(参数解析命令行, command_line)
调用者
名称描述
start_kernel启动内核