Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| Name | Describe |
|---|---|
| __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. |
| 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 |