函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\apic.h Create Date:2022-07-27 08:27:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apic_write

函数原型:static inline void apic_write(unsigned int reg, unsigned int val)

返回类型:void

参数:

类型参数名称
unsigned intreg
unsigned intval

NULL

调用者
名称描述
intel_init_cmci
intel_init_thermal
wakeup_secondary_cpu_via_nmiPoke the other CPU in the eye via NMI to wake it up. Remember that the normal* INIT, INIT, STARTUP sequence will reset the chip hard for us, and this* won't ... remember to clear down the APIC, etc later.
wakeup_secondary_cpu_via_init
do_boot_cpuNOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu.
native_apic_icr_write
__setup_APIC_LVTTThis function sets up the local APIC timer, with a timeout of* 'clocks' APIC bus clock. During calibration we actually call* this function twice on the boot CPU, once with a bogus timeout* value, second time for real. The other (noncalibrating) CPUs
setup_APIC_eilvtIf mask=1, the LVT entry does not generate interrupts while mask=0* enables the vector. See also the BKDGs. Must be called with* preemption disabled.
lapic_next_eventProgram the next event, relative to now
lapic_timer_shutdown
clear_local_APIClear_local_APIC - shutdown the local APIC* This is called, when a CPU is disabled and before rebooting, so the state of* the local APIC has no dangling leftovers. Also used to cleanout any BIOS* leftovers during boot.
apic_soft_disableapic_soft_disable - Clears and software disables the local APIC on hotplug* Contrary to disable_local_APIC() this does not touch the enable bit in* MSR_IA32_APICBASE
sync_Arb_IDssync_Arb_IDs - synchronize APIC bus arbitration IDs
init_bsp_APICAn initial setup of the virtual wire mode.
lapic_setup_esr
setup_local_APICsetup_local_APIC - setup the local APIC* Used to setup local APIC while initializing BSP or bringing up APs.* Always called with preemption disabled.
end_local_APIC_setup
smp_error_interruptThis interrupt should never happen with our APIC/SMP architecture
disconnect_bsp_APICdisconnect_bsp_APIC - detach the APIC from the interrupt system*@virt_wire_setup: indicates, whether virtual wire mode is selected* Virtual wire mode is necessary to deliver legacy interrupts even when the* APIC is disabled.
apic_bsp_up_setup
print_local_APIC
mask_lapic_irqThe local APIC irq-chip implementation:
unmask_lapic_irq
check_timerThis code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board.
numachip_send_IPI_self
uv_send_IPI_self
x2apic_send_IPI_self
flat_init_apic_ldrSet 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). So here it goes...
default_init_apic_ldrSet 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).