函数逻辑报告 |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-27 09:24:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:duce the number of lines printed when booting a large cpu count system
函数原型:static void announce_cpu(int cpu, int apicid)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | cpu | |
| int | apicid |
| 896 | current_node等于NUMA_NO_NODE |
| 897 | node等于取得CPU的NUMA节点 |
| 900 | 如果非width则width等于num_digits(num_possible_cpus())加1 |
| 903 | 如果非node_width则node_width等于num_digits(num_possible_nodes())加1 |
| 906 | 如果cpu恒等于1则printk(formational "x86: Booting SMP configuration:\n") |
| 910 | 如果node不等于current_node则 |
| 911 | 如果current_node大于负1则打印标准信息("\n") |
| 913 | current_node等于node |
| 915 | printk(formational ".... node %*s#%d, CPUs: ", node_width - num_digits(node), " ", node) |
| 923 | 打印标准信息("%*s#%d", width - num_digits(cpu), " ", cpu) |
| 名称 | 描述 |
|---|---|
| do_boot_cpu | NOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |