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

Name:dbg_set_reg

Proto:int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
intregno
void *mem
struct pt_regs *regs
93  If regno == GDB_SS || regno == GDB_FS || regno == GDB_GS || regno == GDB_SP || regno == GDB_ORIG_AX Then Return 0
100  If offset != -1 Then memcpy((void * )regs + offset, mem, size)
103  Return 0