函数逻辑报告

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:57
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ioapic_write_entry

函数原型:static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e)

返回类型:void

参数:

类型参数名称
intapic
intpin
struct IO_APIC_route_entrye
348  raw_spin_lock_irqsave( & ioapic_lock, flags)
349  When 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.
350  raw_spin_unlock_irqrestore( & ioapic_lock, flags)
调用者
名称描述
clear_IO_APIC_pin
mask_ioapic_entriesMask all IO APIC entries.
restore_ioapic_entriesRestore IO APIC entries which was saved in the ioapic structure.
native_restore_boot_irq_mode
unlock_ExtINT_logicThis looks a bit hackish but it's about the only one way of sending* a few INTA cycles to 8259As and any associated glue logic