Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\machine_kexec_32.c Create Date:2022-07-28 08:36:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:A architecture hook called to validate the* proposed image and prepare the control pages* as needed

Proto:int machine_kexec_prepare(struct kimage *image)

Type:int

Parameter:

TypeParameterName
struct kimage *image
151  set_memory_x((unsignedlong)page_address(control_code_page), 1)
152  error = machine_kexec_alloc_page_tables(image)
153  If error Then Return error
155  machine_kexec_prepare_page_tables(image)
156  Return 0
Caller
NameDescribe
SYSCALL_DEFINE5