Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-28 08:29:23
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioapic_write_entry

Proto:static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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