函数逻辑报告 | 
Source Code:arch\x86\kernel\alternative.c | 
Create Date:2022-07-27 08:44:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:xt_poke_early - Update instructions on a live kernel at boot time*@addr: address to modify*@opcode: source of the copy*@len: length to copy* When you use this code to patch more than one byte of an instruction
函数原型:void __init_or_module text_poke_early(void *addr, const void *opcode, size_t len)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| void * | addr | |
| const void * | opcode | |
| size_t | len | 
| 765 | 如果boot_cpu_has(Execute Disable )且is_module_text_address((unsignedlong)addr)则 | 
| 773 | 否则 | 
| 774 | local_irq_save(flags) | 
| 776 | local_irq_restore(flags) | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| __jump_label_transform | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |