Function report |
Source Code:arch\x86\kernel\mpparse.c |
Create Date:2022-07-28 08:25:52 |
Last Modify:2020-03-16 21:44:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smp_scan_config
Proto:static int __init smp_scan_config(unsigned long base, unsigned long length)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | base | |
unsigned long | length |
579 | ret = 0 |
581 | Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_VERBOSE, "Scan for SMP in [mem %#010lx-%#010lx]\n", base, base + length - 1) |
583 | BUILD_BUG_ON - break compile if a condition is true( size of mpf != 16) |
586 | bp = early_memremap(base, length) |
588 | If bp == This tag identifies where the SMP configuration* information is. && Our length (paragraphs) == 1 && Not Checksum an MP configuration block. && ( Specification version == 1 || Specification version == 4 ) Then |
597 | mpf_found = true |
602 | memblock_reserve(base, size of mpf ) |
603 | If Configuration table address Then smp_reserve_memory(mpf) |
606 | ret = 1 |
608 | early_memunmap(bp, length) |
610 | If ret Then Break |
613 | base += 16 |
614 | length -= 16 |
616 | Return ret |
Name | Describe |
---|---|
default_find_smp_config |
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 |