函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:numachip_send_IPI_one

函数原型:static void numachip_send_IPI_one(int cpu, int vector)

返回类型:void

参数:

类型参数名称
intcpu
intvector
96  apicid等于per_cpu(Map cpu index to physical APIC ID, cpu)
99  禁止抢占()
100  local_apicid等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(Map cpu index to physical APIC ID)
103  如果非apicid按位异或local_apicid的值右移NUMACHIP_LAPIC_BITS位的值则
106  local_irq_save(flags)
107  This is used to send an IPI with no shorthand notation (the destination is* specified in bits 56 to 63 of the ICR).
109  local_irq_restore(flags)
110  禁用抢占和中断()
111  返回
113  禁用抢占和中断()
115  dmode等于如果vector恒等于Linux IRQ vector layoutAPIC_DM_NMI否则APIC_DM_FIXED
116  numachip_apic_icr_write(apicid, dmode | vector)
调用者
名称描述
numachip_send_IPI_mask
numachip_send_IPI_mask_allbutself
numachip_send_IPI_allbutself