函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mp_setup_entry

函数原型:static void mp_setup_entry(struct irq_cfg *cfg, struct mp_chip_data *data, struct IO_APIC_route_entry *entry)

返回类型:void

参数:

类型参数名称
struct irq_cfg *cfg
struct mp_chip_data *data
struct IO_APIC_route_entry *entry
2957  memset(entry, 0, entry的长度)
2958  000: FIXED * 001: lowest prio * 111: ExtINT等于irq_delivery_mode
2959  0: physical, 1: logical 等于irq_dest_mode
2960  dest等于dest_apicid
2961  vector等于vector
2962  0: edge, 1: level 等于trigger
2963  polarity等于polarity
2968  如果trigger恒等于IOAPIC_LEVEL 0: enabled, 1: disabled 等于IOAPIC_MASKED
2970  否则 0: enabled, 1: disabled 等于IOAPIC_UNMASKED
调用者
名称描述
mp_irqdomain_alloc