Function report |
Source Code:arch\x86\kernel\mpparse.c |
Create Date:2022-07-28 08:25:45 |
| Last Modify:2020-03-16 21:44:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smp_read_mpc
Proto:static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mpc_table * | mpc | |
| unsigned | early |
| 210 | If Not Read/parse the MPC Then Return 0 |
| 214 | If Not acpi_lapic Then register_lapic_address( APIC address ) |
| 217 | If early Then Return 1 |
| 220 | If 0 if not present Then smp_read_mpc_oem(mpc) |
| 226 | mpc_record(0) |
| 228 | When count < Size of table cycle |
| 230 | Case mpt == Followed by entries |
| 232 | If Not acpi_lapic Then MP_processor_info((structmpc_cpu * )mpt) |
| 234 | skip_entry( & mpt, & count, sizeof(structmpc_cpu)) |
| 235 | Break |
| 237 | MP_bus_info((structmpc_bus * )mpt) |
| 238 | skip_entry( & mpt, & count, sizeof(structmpc_bus)) |
| 239 | Break |
| 241 | MP_ioapic_info((structmpc_ioapic * )mpt) |
| 242 | skip_entry( & mpt, & count, sizeof(structmpc_ioapic)) |
| 243 | Break |
| 245 | mp_save_irq((structmpc_intsrc * )mpt) |
| 246 | skip_entry( & mpt, & count, sizeof(structmpc_intsrc)) |
| 247 | Break |
| 248 | Case mpt == MP_LINTSRC |
| 249 | MP_lintsrc_info((structmpc_lintsrc * )mpt) |
| 250 | skip_entry( & mpt, & count, sizeof(structmpc_lintsrc)) |
| 251 | Break |
| 252 | Default |
| 258 | mpc_record(1) |
| 261 | If Not num_processors Then pr_err("MPTABLE: no processors registered!\n") |
| 263 | Return num_processors |
| Name | Describe |
|---|---|
| check_physptr |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |