函数逻辑报告 |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-27 08:44:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:"noinline" to cause control flow change and thus invalidate I$ and* cause refetch after modification.
函数原型:static void __init_or_module noinline optimize_nops(struct alt_instr *a, u8 *instr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct alt_instr * | a | |
| u8 * | instr |
| 347 | 以i小于 length of build-time padding 循环 |
| 352 | local_irq_save(flags) |
| 354 | local_irq_restore(flags) |
| 356 | DUMP_BYTES(instr, length of original instruction , "%px: [%d:%d) optimized NOPs: ", instr, length of original instruction - length of build-time padding , length of build-time padding ) |
| 名称 | 描述 |
|---|---|
| apply_alternatives | Replace instructions with better alternatives for this CPU type. This runs* before SMP is initialized to avoid SMP problems with self modifying code.* This implies that asymmetric systems where APs have less capabilities than |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |