Function report |
Source Code:arch\x86\kernel\vm86_32.c |
Create Date:2022-07-28 08:41:30 |
Last Modify:2022-05-22 10:11:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:save_v86_state
Proto:void save_v86_state(struct kernel_vm86_regs *regs, int retval)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernel_vm86_regs * | regs | |
int | retval |
98 | tsk = current process |
101 | err = 0 |
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 | If err Then |
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 | preempt_enable() |
157 | memcpy( & rmal regs, with special meaning for the segment descriptors.., & regs32, sizeof(structpt_regs)) |
159 | lazy_load_gs(gs) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |