函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\machine_kexec_32.c Create Date:2022-07-27 09:36:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:A architecture hook called to validate the* proposed image and prepare the control pages* as needed

函数原型:int machine_kexec_prepare(struct kimage *image)

返回类型:int

参数:

类型参数名称
struct kimage *image
151  set_memory_x((unsignedlong)page_address(control_code_page), 1)
152  error等于machine_kexec_alloc_page_tables(image)
153  如果error则返回:error
155  machine_kexec_prepare_page_tables(image)
156  返回:0
调用者
名称描述
SYSCALL_DEFINE5
do_kexec_load