Function report |
Source Code:arch\x86\kernel\mpparse.c |
Create Date:2022-07-28 08:25:50 |
Last Modify:2020-03-16 21:44:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Scan the memory blocks for an SMP configuration block.
Proto:void __init default_get_smp_config(unsigned int early)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | early |
507 | If Not smp_found_config Then Return |
510 | If Not mpf_found Then Return |
513 | If acpi_lapic && early Then Return |
520 | If acpi_lapic && acpi_ioapic Then Return |
523 | mpf = early_memremap(mpf_base, size of mpf ) |
524 | If Not mpf Then |
525 | pr_err("MPTABLE: error mapping MP table\n") |
526 | Return |
529 | pr_info("Intel MultiProcessor Specification v1.%d\n", Specification version ) |
543 | If Standard or configuration ? Then |
544 | If early Then |
549 | Go to out |
552 | pr_info("Default MP configuration #%d\n", Standard or configuration ? ) |
555 | Else if Configuration table address Then |
556 | If check_physptr(mpf, early) Then Go to out |
558 | Else BUG() |
561 | If Not early Then pr_info("Processors: %d\n", num_processors) |
566 | out : |
567 | early_memunmap(mpf, size of mpf ) |
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 |