Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\probe_32.c Create Date:2022-07-28 08:35:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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).

Proto:static void default_init_apic_ldr(void)

Type:void

Parameter:Nothing

46  apic_write(APIC_DFR, APIC_DFR_VALUE)
47  val = apic_read(APIC_LDR) & ~APIC_LDR_MASK
48  val |= SET_APIC_LOGICAL_ID(1UL << smp_processor_id())
49  apic_write(APIC_LDR, val)