Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\kexec.h Create Date:2022-07-28 06:15:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function is responsible for capturing register states if coming* via panic otherwise just fix up the ss and sp if coming via kernel* mode exception.

Proto:static inline void crash_setup_regs(struct pt_regs *newregs, struct pt_regs *oldregs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *newregs
struct pt_regs *oldregs
77  If oldregs Then
78  No 3D Now!(newregs, oldregs, size of newregs )
79  Else
81  asm volatile
82  asm volatile
83  asm volatile
84  asm volatile
85  asm volatile
86  asm volatile
87  asm volatile
88  asm volatile
89  asm volatile
90  asm volatile
91  asm volatile
92  asm volatile
93  asm volatile
115  Return frame for iretq = _THIS_IP_
Caller
NameDescribe
__crash_kexecNo 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.