函数逻辑报告 |
Source Code:arch\x86\kernel\apb_timer.c |
Create Date:2022-07-27 09:42:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:apbt_clockevent_register
函数原型:static int __init apbt_clockevent_register(void)
返回类型:int
参数:无
| 137 | adev等于this_cpu_ptr( & cpu_apbt_dev) |
| 140 | 如果(mtmr == NULL)则 |
| 141 | printk(r conditions "Failed to get MTMR %d from SFI\n", APBT_CLOCKEVENT0_NUM) |
| 143 | 返回:负ENODEV |
| 147 | timer等于dw_apb_clockevent_init(当前cpu ID(), "apbt0", intel_mid_timer_options == INTEL_MID_TIMER_LAPIC_APBT ? APBT_CLOCKEVENT_RATING - 100 : APBT_CLOCKEVENT_RATING, adev_virt_addr(adev), 0, Common DW APB timer info) |
| 152 | eoi = NULL |
| 154 | 如果(intel_mid_timer_options == INTEL_MID_TIMER_LAPIC_APBT)则 |
| 156 | printk(debug-level messages "%s clockevent registered as global\n", name) |
| 162 | sfi_free_mtmr(mtmr) |
| 163 | 返回:0 |
| 名称 | 描述 |
|---|---|
| apbt_time_init | Early setup the APBT timer, only use timer 0 for booting then switch to* per CPU timer if possible.* returns 1 if per cpu apbt is setup* returns 0 if no per cpu apbt is chosen* panic if set up failed, this is the only platform timer on Moorestown. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |