函数逻辑报告 |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-27 08:44:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Use this to add nops to a buffer, then text_poke the whole buffer.
函数原型:static void __init_or_module add_nops(void *insns, unsigned int len)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | insns | |
| unsigned int | len |
| 261 | 如果noplen大于ASM_NOP_MAX则noplen等于ASM_NOP_MAX |
| 名称 | 描述 |
|---|---|
| recompute_jump | |
| optimize_nops | "noinline" to cause control flow change and thus invalidate I$ and* cause refetch after modification. |
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |