函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:终止程序

函数原型:void die(const char *str, struct pt_regs *regs, long err)

返回类型:void

参数:

类型参数名称
const char *str
struct pt_regs *regs
longerr
405  flags等于oops_begin()
406  sig等于SIGSEGV
408  如果__die(str, regs, err)则sig等于0
410  oops_end(flags, regs, sig)
调用者
名称描述
go_to_protected_mode进入保护模式
do_double_faultRuns on an IST stack for x86_64 and on a special task stack for x86_32.* On x86_64, this is more or less a normal kernel entry. Notwithstanding the* SDM's warnings about double faults being unrecoverable, returning works as* expected
do_bounds
do_general_protection
math_errorNote that we play around with the 'TS' bit in an attempt to get* the correct behaviour even in the presence of the asynchronous* IRQ13 behaviour
do_device_not_available
main真实模式下的初始化(BIOS装入执行)
do_trap_no_signal