函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-27 12:41:54
Last Modify:2020-03-17 19:04:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kgdb_handle_exception() - main entry point from a kernel exception* Locking hierarchy:* interface locks, if any (begin_session)* kgdb lock (kgdb_active)

函数原型:int kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
intevector
intsigno
intecode
struct pt_regs *regs
790  ks等于kgdb_var
791  ret等于0
793  如果enable_nmienable_nmi(0)
801  如果signo不等于SIGTRAPpanic_timeout则返回:1
804  memset(ks, 0, sizeof(structkgdb_state))
805  cpu等于These macros fold the SMP functionality into a single CPU system()
806  ex_vector等于evector
807  signo等于signo
808  err_code等于ecode
809  linux_regs等于regs
811  如果kgdb_reenter_check(ks)则转到:out
813  如果enter_kgdb不等于0则转到:out
816  ret等于kgdb_cpu_enter(ks, regs, Waiting to become a master kgdb cpu )
817  out :
818  如果enable_nmienable_nmi(1)
820  返回:ret
调用者
名称描述
__kgdb_notify