函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\probe_32.c Create Date:2022-07-27 09:34:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Set up the logical destination ID. Intel recommends to set DFR, LDR and* TPR before enabling an APIC. See e.g. "AP-388 82489DX User's Manual"* (Intel document number 292116).

函数原型:static void default_init_apic_ldr(void)

返回类型:void

参数:

46  apic_write(APIC_DFR, APIC_DFR_VALUE)
47  val等于apic_read(APIC_LDR)按位与APIC_LDR_MASK的反
48  val或等于SET_APIC_LOGICAL_ID(1UL << 当前cpu ID())
49  apic_write(APIC_LDR, val)