函数逻辑报告 |
Source Code:arch\x86\kernel\process_32.c |
Create Date:2022-07-27 08:29:04 |
Last Modify:2022-05-18 16:43:57 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__show_regs
函数原型:void __show_regs(struct pt_regs *regs, enum show_regs_mode mode)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pt_regs * | regs | |
enum show_regs_mode | mode |
67 | 如果ser_mode(regs) determines whether a register set came from user* mode则gs等于x86-32 user GS accessors:(regs) |
69 | 否则Save a segment register away:(gs, gs) |
74 | printk(he default kernel loglevel "EAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n", ax, bx, cx, dx) |
76 | printk(he default kernel loglevel "ESI: %08lx EDI: %08lx EBP: %08lx ESP: %08lx\n", si, di, bp, sp) |
78 | printk(he default kernel loglevel "DS: %04x ES: %04x FS: %04x GS: %04x SS: %04x EFLAGS: %08lx\n", (u16)ds, (u16)es, (u16)fs, gs, ss, flags) |
81 | 如果mode不等于SHOW_REGS_ALL则返回 |
87 | cr4等于__read_cr4() |
88 | printk(he default kernel loglevel "CR0: %08lx CR2: %08lx CR3: %08lx CR4: %08lx\n", cr0, cr2, cr3, cr4) |
99 | 如果d0恒等于0且d1恒等于0且d2恒等于0且d3恒等于0且d6恒等于Define reserved bits in DR6 which are always set to 1 且d7恒等于0x400则返回 |
103 | printk(he default kernel loglevel "DR0: %08lx DR1: %08lx DR2: %08lx DR3: %08lx\n", d0, d1, d2, d3) |
105 | printk(he default kernel loglevel "DR6: %08lx DR7: %08lx\n", d6, d7) |
名称 | 描述 |
---|---|
show_regs_if_on_stack | |
oops_end | |
show_regs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |