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

Name:kgdb_arch_init - Perform any architecture specific initialization.* This function will handle the initialization of any architecture* specific callbacks.

Proto:int kgdb_arch_init(void)

Type:int

Parameter:Nothing

601  retval = register_die_notifier( & kgdb_notifier)
602  If retval Then Go to out
605  retval = register_nmi_handler(NMI_LOCAL, kgdb_nmi_handler, 0, "kgdb")
607  If retval Then Go to out1
610  retval = register_nmi_handler(NMI_UNKNOWN, kgdb_nmi_handler, 0, "kgdb")
613  If retval Then Go to out2
616  Return retval
618  out2 :
619  unregister_nmi_handler(NMI_LOCAL, "kgdb")
620  out1 :
621  unregister_die_notifier( & kgdb_notifier)
622  out :
623  Return retval