Function report |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-28 07:45:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void __init_or_module text_poke_early(void *addr, const void *opcode, size_t len)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void * | addr | |
const void * | opcode | |
size_t | len |
765 | If boot_cpu_has(Execute Disable ) && is_module_text_address((unsignedlong)addr) Then |
773 | Else |
774 | local_irq_save(flags) |
776 | local_irq_restore(flags) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |