函数逻辑报告 |
Source Code:arch\x86\kernel\vm86_32.c |
Create Date:2022-07-27 09:40:41 |
Last Modify:2022-05-22 10:11:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:save_v86_state
函数原型:void save_v86_state(struct kernel_vm86_regs *regs, int retval)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kernel_vm86_regs * | regs | |
int | retval |
101 | err等于0 |
108 | 开中断() |
114 | set_flags(flags, VEFLAGS, X86_EFLAGS_VIF | veflags_mask) |
124 | put_user_try |
125 | put_user_ex(bx, & ebx) |
126 | put_user_ex(cx, & ecx) |
127 | put_user_ex(dx, & edx) |
128 | put_user_ex(si, & esi) |
129 | put_user_ex(di, & edi) |
130 | put_user_ex(bp, & ebp) |
131 | put_user_ex(ax, & eax) |
132 | put_user_ex( Return frame for iretq , & eip) |
133 | put_user_ex(cs, & cs) |
134 | put_user_ex(flags, & eflags) |
135 | put_user_ex(sp, & esp) |
136 | put_user_ex(ss, & ss) |
138 | put_user_ex(ds, & ds) |
139 | put_user_ex(fs, & fs) |
140 | put_user_ex(gs, & gs) |
142 | put_user_ex(screen_bitmap, & screen_bitmap) |
143 | put_user_catch(err) |
144 | 如果err则 |
149 | 禁止抢占() |
153 | refresh_sysenter_cs( & * New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct.) |
154 | saved_sp0等于0 |
155 | 禁用抢占和中断() |
157 | memcpy( & rmal regs, with special meaning for the segment descriptors.., & regs32, sizeof(structpt_regs)) |
159 | lazy_load_gs(gs) |
名称 | 描述 |
---|---|
do_int | There are so many possible reasons for this function to return* VM86_INTx, so adding another doesn't bother me. We can expect* userspace programs to be able to handle it. (Getting a problem* in userspace is always better than an Oops anyway.) [KD] |
handle_vm86_trap | |
handle_vm86_fault | |
handle_signal | 自定义信号处理函数 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |