函数逻辑报告 |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-27 09:24:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Various sanity checks.
函数原型:static void __init smp_sanity_check(void)
返回类型:void
参数:无
1238 | 禁止抢占() |
1241 | 如果def_to_bigsmp且nr_cpu_ids大于8则 |
1245 | 打印警告信息("More than 8 CPUs detected - skipping them\nUse CONFIG_X86_BIGSMP\n") |
1248 | nr等于0 |
1250 | 如果nr大于等于8则set_cpu_present(cpu, false) |
1252 | nr自加 |
1255 | nr等于0 |
1257 | 如果nr大于等于8则set_cpu_possible(cpu, false) |
1259 | nr自加 |
1262 | nr_cpu_ids等于8 |
1266 | 如果非physid_isset(hard_smp_processor_id(), phys_cpu_present_map)则 |
1267 | 打印警告信息("weird, boot CPU (#%d) not listed by the BIOS\n", hard_smp_processor_id()) |
1278 | 打印注释信息("weird, boot CPU (#%d) not listed by the BIOS\n", boot_cpu_physical_apicid) |
1282 | 禁用抢占和中断() |
名称 | 描述 |
---|---|
native_smp_prepare_cpus | Prepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |