函数逻辑报告 |
Source Code:arch\x86\kernel\machine_kexec_32.c |
Create Date:2022-07-27 09:36:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Do not allocate memory (or fail in any way) in machine_kexec().* We are past the point of no return, committed to rebooting now.
函数原型:void machine_kexec(struct kimage *image)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kimage * | image |
178 | asmlinkage unsigned long( * relocate_kernel_ptr)(unsigned long indirection_page, unsigned long control_page, unsigned long start_address, unsigned int has_pae, unsigned int preserve_context) |
190 | save_ftrace_enabled等于Ftrace disable/restore without lock. Some synchronization mechanism* must be used to prevent ftrace_enabled to be changed between* disable/restore. |
193 | 禁止中断() |
194 | hw_breakpoint_disable() |
213 | page_list[PA_CONTROL_PAGE]等于__pa(control_page) |
217 | 如果 Flags to indicate special processing 恒等于KEXEC_TYPE_DEFAULT则page_list[PA_SWAP_PAGE]等于page_to_pfn(swap_page)左移PAGE_SHIFT determines the page size 位 |
231 | load_segments() |
240 | start等于relocate_kernel_ptr((unsignedlong)head, (unsignedlong)page_list, start, boot_cpu_has(Physical Address Extensions ), preserve_context) |
名称 | 描述 |
---|---|
kernel_kexec | Move into place and start executing a preloaded standalone* executable. If nothing was preloaded return an error. |
__crash_kexec | No panic_cpu check version of crash_kexec(). This function is called* only when panic_cpu holds the current CPU number; this is the only CPU* which processes crash_kexec routines. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |