函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:28:55
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_apic_write

函数原型:static void io_apic_write(unsigned int apic, unsigned int reg, unsigned int value)

返回类型:void

参数:

类型参数名称
unsigned intapic
unsigned intreg
unsigned intvalue
296  __iomemio_apic等于io_apic_base(apic)
298  writel(reg, & index)
299  writel(value, & data)
调用者
名称描述
__ioapic_write_entryWhen we write a new IO APIC routing entry, we need to write the high* word first! If the mask bit in the low word is clear, we will enable* the interrupt, and we need to make sure the entry is fully populated* before that happens.
ioapic_mask_entryWhen we mask an IO APIC routing entry, we need to write the low* word first, in order to set the mask bit before we change the* high bits!
io_apic_modify_irq
setup_ioapic_ids_from_mpc_nocheck to set the IO-APIC physical IDs based on the* values stored in the MPC table.* by Matt Domsch Tue Dec 21 12:25:05 CST 1999
resume_ioapic_id
io_apic_get_unique_id