函数逻辑报告 |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-27 09:29:53 |
Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mp_alloc_timer_irq
函数原型:static int mp_alloc_timer_irq(int ioapic, int pin)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | ioapic | |
int | pin |
2101 | irq等于负1 |
2102 | domain等于mp_ioapic_irqdomain(ioapic) |
2104 | 如果domain则 |
2107 | ioapic_set_alloc_attr( & info, NUMA_NO_NODE, 0, 0) |
2108 | ioapic_id等于mpc_ioapic_id(ioapic) |
2109 | ioapic_pin等于pin |
2110 | mutex_lock( & ioapic_mutex) |
2112 | mutex_unlock( & ioapic_mutex) |
2115 | 返回:irq |
名称 | 描述 |
---|---|
check_timer | This code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |