Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:smp_scan_config

Proto:static int __init smp_scan_config(unsigned long base, unsigned long length)

Type:int

Parameter:

TypeParameterName
unsigned longbase
unsigned longlength
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)
585  When length > 0 cycle
586  bp = early_memremap(base, length)
587  mpf = bp
596  mpf_base = base
597  mpf_found = true
599  pr_info("found SMP MP-table at [mem %#010lx-%#010lx]\n", base, base + size of mpf - 1)
602  memblock_reserve(base, size of mpf )
606  ret = 1
608  early_memunmap(bp, length)
610  If ret Then Break
613  base += 16
614  length -= 16
616  Return ret
Caller
NameDescribe
default_find_smp_config