/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | vm86_32.c | 5 * 29 dec 2001 - Fixed oopses caused by unchecked access to the vm86 57 #include <asm/vm86.h> 87 #define VFLAGS (*(unsigned short *)&(current->thread.vm86->veflags)) 88 #define VEFLAGS (current->thread.vm86->veflags) 100 struct vm86 *vm86 = current->thread.vm86; in save_v86_state() local 109 if (!vm86 || !vm86->user_vm86) { in save_v86_state() 113 set_flags(regs->pt.flags, VEFLAGS, X86_EFLAGS_VIF | vm86 in save_v86_state() 241 struct vm86 *vm86 = tsk->thread.vm86; do_sys_vm86() local 534 struct vm86 *vm86 = current->thread.vm86; do_int() local 564 struct vm86 *vm86 = current->thread.vm86; handle_vm86_trap() local [all...] |
H A D | process_32.c | 53 #include <asm/vm86.h> 198 * case prev or next is vm86. in __switch_to()
|
H A D | process.c | 38 #include <asm/vm86.h> 93 dst->thread.vm86 = NULL; in arch_dup_task_struct()
|
H A D | traps.c | 59 #include <asm/vm86.h> 105 * Traps 0, 1, 3, 4, and 5 should be forwarded to vm86. in do_trap_no_signal()
|
H A D | signal.c | 38 #include <asm/vm86.h>
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | vm86_32.c | 5 * 29 dec 2001 - Fixed oopses caused by unchecked access to the vm86 57 #include <asm/vm86.h> 87 #define VFLAGS (*(unsigned short *)&(current->thread.vm86->veflags)) 88 #define VEFLAGS (current->thread.vm86->veflags) 100 struct vm86 *vm86 = current->thread.vm86; in save_v86_state() local 109 BUG_ON(!vm86); in save_v86_state() 111 set_flags(regs->pt.flags, VEFLAGS, X86_EFLAGS_VIF | vm86->veflags_mask); in save_v86_state() 112 user = vm86 in save_v86_state() 202 struct vm86 *vm86 = tsk->thread.vm86; do_sys_vm86() local 500 struct vm86 *vm86 = current->thread.vm86; do_int() local 530 struct vm86 *vm86 = current->thread.vm86; handle_vm86_trap() local [all...] |
H A D | process_32.c | 53 #include <asm/vm86.h> 196 * case prev or next is vm86. in __switch_to()
|
H A D | process.c | 43 #include <asm/vm86.h> 97 dst->thread.vm86 = NULL; in arch_dup_task_struct()
|
H A D | signal.c | 38 #include <asm/vm86.h>
|
H A D | traps.c | 61 #include <asm/vm86.h> 98 * Traps 0, 1, 3, 4, and 5 should be forwarded to vm86. in do_trap_no_signal()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | vm86.h | 6 #include <uapi/asm/vm86.h> 9 * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86 31 struct vm86 { struct 55 if (__t->vm86 != NULL) { \ 56 kfree(__t->vm86); \ 57 __t->vm86 = NULL; \
|
H A D | processor.h | 11 struct vm86; 238 * that we set it to zero in vm86 tasks to avoid corrupting the 239 * stack if we were to go through the sysenter path from vm86 454 struct vm86 *vm86; member 518 * and around vm86 mode and sp0 on x86_64 is special because of the in current_top_of_stack()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | vm86.h | 6 #include <uapi/asm/vm86.h> 9 * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86 31 struct vm86 { struct 56 if (__t->vm86 != NULL) { \ 57 kfree(__t->vm86); \ 58 __t->vm86 = NULL; \
|
H A D | processor.h | 11 struct vm86; 282 * that we set it to zero in vm86 tasks to avoid corrupting the 283 * stack if we were to go through the sysenter path from vm86 525 struct vm86 *vm86; member 573 * and around vm86 mode and sp0 on x86_64 is special because of the in current_top_of_stack()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | entry_from_vm86.c | 3 * entry_from_vm86.c - tests kernel entries from vm86 mode 6 * This exercises a few paths that need to special-case vm86 mode. 25 #include <sys/vm86.h> 60 printf("[FAIL]\tSignal frame should not reflect vm86 mode\n"); in sighandler() 140 printf("[RUN]\t%s from vm86 mode\n", text); in do_test() 142 ret = vm86(VM86_ENTER, v86); in do_test() 162 printf("[INFO]\tExited vm86 mode due to #%s\n", trapname); in do_test() 164 printf("[INFO]\tExited vm86 mode due to unhandled GP fault\n"); in do_test() 166 printf("[INFO]\tExited vm86 mode due to a trap (arg=%ld)\n", in do_test() 169 printf("[INFO]\tExited vm86 mod in do_test() 188 do_umip_tests(struct vm86plus_struct *vm86, unsigned char *test_mem) do_umip_tests() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | entry_from_vm86.c | 3 * entry_from_vm86.c - tests kernel entries from vm86 mode 6 * This exercises a few paths that need to special-case vm86 mode. 25 #include <sys/vm86.h> 60 printf("[FAIL]\tSignal frame should not reflect vm86 mode\n"); in sighandler() 140 printf("[RUN]\t%s from vm86 mode\n", text); in do_test() 142 ret = vm86(VM86_ENTER, v86); in do_test() 162 printf("[INFO]\tExited vm86 mode due to #%s\n", trapname); in do_test() 164 printf("[INFO]\tExited vm86 mode due to unhandled GP fault\n"); in do_test() 166 printf("[INFO]\tExited vm86 mode due to a trap (arg=%ld)\n", in do_test() 169 printf("[INFO]\tExited vm86 mod in do_test() 188 do_umip_tests(struct vm86plus_struct *vm86, unsigned char *test_mem) do_umip_tests() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | fault.c | 26 #include <asm/vm86.h> /* struct vm86 */ 272 * Did it hit the DOS screen memory VA from vm86 mode? 281 if (!v8086_mode(regs) || !tsk->thread.vm86) in check_v8086_mode() 286 tsk->thread.vm86->screen_bitmap |= 1 << bit; in check_v8086_mode() 345 * No vm86 mode in 64-bit mode:
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | get_address.c | 24 #include <asm/vm86.h>
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sys_ni.c | 374 COND_SYSCALL(vm86); variable
|
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | get_address.c | 24 #include <asm/vm86.h>
|
/kernel/linux/linux-6.6/kernel/ |
H A D | sys_ni.c | 289 COND_SYSCALL(vm86); variable
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | insn-eval.c | 16 #include <asm/vm86.h>
|
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | fault.c | 28 #include <asm/vm86.h> /* struct vm86 */
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | insn-eval.c | 16 #include <asm/vm86.h>
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | dpt_i2o.c | 1637 #include <uapi/asm/vm86.h>
|