函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\traps.h Create Date:2022-07-27 08:30:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_si_code

函数原型:static inline int get_si_code(unsigned long condition)

返回类型:int

参数:

类型参数名称
unsigned longcondition
102  如果condition按位与single-step 则返回:process trace trap
104  否则如果condition按位与db0 按位或db1 按位或db2 按位或db3 的值则返回:hardware breakpoint/watchpoint
106  否则返回:process breakpoint
调用者
名称描述
do_debugOur handling of the processor debug registers is non-trivial.* We do not clear them on entry and exit from the kernel. Therefore* it is possible to get a watchpoint trap here from inside the kernel.* However, the code in