函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\mpparse.c Create Date:2022-07-27 09:25:32
Last Modify:2020-03-16 21:44:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:construct_default_ISA_mptable

函数原型:static inline void __init construct_default_ISA_mptable(int mpc_default_type)

返回类型:void

参数:

类型参数名称
intmpc_default_type
396  int linttypes[2] = {mp_ExtINT, mp_NMI}
402  mp_lapic_addr等于APIC_DEFAULT_PHYS_BASE
407  type等于Followed by entries
409  Its versions 等于如果mpc_default_type大于4则0x10否则0x01
410  cpuflag等于Processor is available
411  cpufeature等于x86左移8位按位或x86_model左移4位按位或x86_stepping
413  CPUID feature value 等于x86_capability[CPUID_1_EDX]
414  reserved[0]等于0
415  reserved[1]等于0
416 i小于2循环
417  Local APIC number 等于i
418  MP_processor_info( & processor)
421  construct_ioapic_table(mpc_default_type)
423  type等于MP_LINTSRC
424  irqflag等于MP_IRQTRIG_DEFAULT按位或MP_IRQPOL_DEFAULT
425  srcbusid等于0
426  srcbusirq等于0
427  destapic等于MP_APIC_ALL
428 i小于2循环
429  irqtype等于linttypes[i]
430  destapiclint等于i
431  MP_lintsrc_info( & lintsrc)
调用者
名称描述
default_get_smp_configScan the memory blocks for an SMP configuration block.