函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kgdb_arch_late

函数原型:void kgdb_arch_late(void)

返回类型:void

参数:

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 i小于Total number of available HW breakpoint registers 循环
654  如果pev则继续下一循环
656  pev等于register_wide_hw_breakpoint( & attr, NULL, NULL)
657  如果是错误
658  printk(r conditions "kgdb: Could not allocate hwbreakpoints\nDisabling the kernel debugger\n")
660  pev = NULL
662  返回
665  pevent等于per_cpu_ptr(pev, cpu)
666  sample_period等于1
668  如果(destroy != NULL)则
669  destroy = NULL