函数逻辑报告 |
Source Code:arch\x86\kernel\apic\vector.c |
Create Date:2022-07-27 09:28:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:vector_configure_legacy
函数原型:static bool vector_configure_legacy(unsigned int virq, struct irq_data *irqd, struct apic_chip_data *apicd)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | virq | |
| struct irq_data * | irqd | |
| struct apic_chip_data * | apicd |
| 504 | bool realloc = false |
| 506 | vector等于Vectors 0x30-0x3f are used for ISA interrupts.* round up to the next 16-vector boundary(virq) |
| 507 | cpu等于0 |
| 509 | raw_spin_lock_irqsave( & vector_lock, flags) |
| 514 | 如果irqd_is_activated(irqd)则 |
| 515 | trace_vector_setup(virq, true, 0) |
| 516 | apic_update_irq_cfg(irqd, vector, cpu) |
| 517 | 否则 |
| 524 | raw_spin_unlock_irqrestore( & vector_lock, flags) |
| 525 | 返回:realloc |
| 名称 | 描述 |
|---|---|
| x86_vector_alloc_irqs |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |