函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kgdb_remove_hw_break

函数原型:static int kgdb_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype bptype)

返回类型:int

参数:

类型参数名称
unsigned longaddr
intlen
enum kgdb_bptypebptype
280 i小于Total number of available HW breakpoint registers 循环如果addr恒等于addrenabled
282  退出
283  如果i恒等于Total number of available HW breakpoint registers 则返回:负1
286  如果hw_break_release_slot(i)则
287  printk(r conditions "Cannot remove hw breakpoint at %lx\n", addr)
288  返回:负1
290  enabled等于0
292  返回:0