Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kgdb.c Create Date:2022-07-28 08:40:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kgdb_remove_hw_break

Proto:static int kgdb_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype bptype)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
intlen
enum kgdb_bptypebptype
280  When i < Total number of available HW breakpoint registers cycle If addr == addr && enabled Then
282  Break
283  If i == Total number of available HW breakpoint registers Then Return -1
286  If hw_break_release_slot(i) Then
287  printk(r conditions "Cannot remove hw breakpoint at %lx\n", addr)
288  Return -1
290  enabled = 0
292  Return 0