函数逻辑报告 |
Source Code:arch\x86\kernel\mpparse.c |
Create Date:2022-07-27 09:25:30 |
| Last Modify:2020-03-16 21:44:10 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:smp_read_mpc
函数原型:static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mpc_table * | mpc | |
| unsigned | early |
| 210 | 如果非Read/parse the MPC则返回:0 |
| 214 | 如果非acpi_lapic则register_lapic_address( APIC address ) |
| 217 | 如果early则返回:1 |
| 220 | 如果 0 if not present 则OEM MPC表设置(mpc) |
| 226 | MPC记录(0) |
| 228 | 当count小于 Size of table 循环 |
| 230 | 当:mpt恒等于Followed by entries |
| 232 | 如果非acpi_lapic则MP_processor_info((structmpc_cpu * )mpt) |
| 234 | skip_entry( & mpt, & count, sizeof(structmpc_cpu)) |
| 235 | 退出 |
| 237 | MP_bus_info((structmpc_bus * )mpt) |
| 238 | skip_entry( & mpt, & count, sizeof(structmpc_bus)) |
| 239 | 退出 |
| 241 | MP_ioapic_info((structmpc_ioapic * )mpt) |
| 242 | skip_entry( & mpt, & count, sizeof(structmpc_ioapic)) |
| 243 | 退出 |
| 245 | mp_save_irq((structmpc_intsrc * )mpt) |
| 246 | skip_entry( & mpt, & count, sizeof(structmpc_intsrc)) |
| 247 | 退出 |
| 248 | 当:mpt恒等于MP_LINTSRC |
| 249 | MP_lintsrc_info((structmpc_lintsrc * )mpt) |
| 250 | skip_entry( & mpt, & count, sizeof(structmpc_lintsrc)) |
| 251 | 退出 |
| 252 | 默认 |
| 258 | MPC记录(1) |
| 261 | 如果非num_processors则打印错误信息("MPTABLE: no processors registered!\n") |
| 263 | 返回:num_processors |
| 名称 | 描述 |
|---|---|
| check_physptr |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |