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:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kgdb_arch_late

Proto:void kgdb_arch_late(void)

Type:void

Parameter:Nothing

648  hw_breakpoint_init( & attr)
649  bp_addr = kgdb_arch_init - Perform any architecture specific initialization.* This function will handle the initialization of any architecture* specific callbacks.
650  bp_len = HW_BREAKPOINT_LEN_1
651  bp_type = HW_BREAKPOINT_W
652  ff by default = 1
653  When i < Total number of available HW breakpoint registers cycle
654  If pev Then Continue
656  pev = register_wide_hw_breakpoint( & attr, NULL, NULL)
657  If IS_ERR((void * __force)pev) Then
658  printk(r conditions "kgdb: Could not allocate hwbreakpoints\nDisabling the kernel debugger\n")
660  pev = NULL
662  Return
666  sample_period = 1
668  If (destroy != NULL) Then
669  destroy = NULL